author | etisserant <edouard.tisserant@gmail.com> |
Thu, 20 Jul 2023 17:04:14 +0200 | |
changeset 3827 | 50e79436f9b4 |
parent 3631 | 176e1f218c61 |
permissions | -rw-r--r-- |
3561
77252e67d0d6
tests: add Beremiz project used in opcua_test CLI test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
1 |
<?xml version='1.0' encoding='utf-8'?> |
77252e67d0d6
tests: add Beremiz project used in opcua_test CLI test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
2 |
<PyFile xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> |
77252e67d0d6
tests: add Beremiz project used in opcua_test CLI test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
3 |
<variables/> |
77252e67d0d6
tests: add Beremiz project used in opcua_test CLI test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
4 |
<globals> |
77252e67d0d6
tests: add Beremiz project used in opcua_test CLI test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
5 |
<xhtml:p><![CDATA[ |
77252e67d0d6
tests: add Beremiz project used in opcua_test CLI test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
6 |
import sys |
77252e67d0d6
tests: add Beremiz project used in opcua_test CLI test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
7 |
def pfunc(arg): |
77252e67d0d6
tests: add Beremiz project used in opcua_test CLI test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
8 |
sys.stdout.write(arg) |
77252e67d0d6
tests: add Beremiz project used in opcua_test CLI test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
9 |
sys.stdout.flush() |
77252e67d0d6
tests: add Beremiz project used in opcua_test CLI test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
10 |
|
77252e67d0d6
tests: add Beremiz project used in opcua_test CLI test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
11 |
pfunc("globals section\n") |
77252e67d0d6
tests: add Beremiz project used in opcua_test CLI test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
12 |
|
77252e67d0d6
tests: add Beremiz project used in opcua_test CLI test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
13 |
]]></xhtml:p> |
77252e67d0d6
tests: add Beremiz project used in opcua_test CLI test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
14 |
</globals> |
77252e67d0d6
tests: add Beremiz project used in opcua_test CLI test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
15 |
<init> |
77252e67d0d6
tests: add Beremiz project used in opcua_test CLI test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
16 |
<xhtml:p><![CDATA[ |
77252e67d0d6
tests: add Beremiz project used in opcua_test CLI test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
17 |
pfunc("init section\n") |
77252e67d0d6
tests: add Beremiz project used in opcua_test CLI test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
18 |
]]></xhtml:p> |
77252e67d0d6
tests: add Beremiz project used in opcua_test CLI test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
19 |
</init> |
77252e67d0d6
tests: add Beremiz project used in opcua_test CLI test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
20 |
<cleanup> |
77252e67d0d6
tests: add Beremiz project used in opcua_test CLI test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
21 |
<xhtml:p><![CDATA[ |
77252e67d0d6
tests: add Beremiz project used in opcua_test CLI test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
22 |
pfunc("cleanup section\n") |
77252e67d0d6
tests: add Beremiz project used in opcua_test CLI test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
23 |
]]></xhtml:p> |
77252e67d0d6
tests: add Beremiz project used in opcua_test CLI test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
24 |
</cleanup> |
77252e67d0d6
tests: add Beremiz project used in opcua_test CLI test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
25 |
<start> |
77252e67d0d6
tests: add Beremiz project used in opcua_test CLI test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
26 |
<xhtml:p><![CDATA[ |
77252e67d0d6
tests: add Beremiz project used in opcua_test CLI test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
27 |
pfunc("start section\n") |
77252e67d0d6
tests: add Beremiz project used in opcua_test CLI test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
28 |
]]></xhtml:p> |
77252e67d0d6
tests: add Beremiz project used in opcua_test CLI test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
29 |
</start> |
77252e67d0d6
tests: add Beremiz project used in opcua_test CLI test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
30 |
<stop> |
77252e67d0d6
tests: add Beremiz project used in opcua_test CLI test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
31 |
<xhtml:p><![CDATA[ |
77252e67d0d6
tests: add Beremiz project used in opcua_test CLI test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
32 |
pfunc("stop section\n") |
77252e67d0d6
tests: add Beremiz project used in opcua_test CLI test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
33 |
|
77252e67d0d6
tests: add Beremiz project used in opcua_test CLI test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
34 |
]]></xhtml:p> |
77252e67d0d6
tests: add Beremiz project used in opcua_test CLI test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
35 |
</stop> |
77252e67d0d6
tests: add Beremiz project used in opcua_test CLI test
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff
changeset
|
36 |
</PyFile> |