mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-28 09:38:53 +00:00
c47a6b0830
* Removes the <event> tag from all test package runtime files and replaces the contained <timeout> and <log> sub-tags with the new tags <succeed> and <fail>. If a <succeed> or <fail> tag has a content, it defines a log pattern that should be recognized and render the test failed or successful. If a <succeed> or <fail> tag has an attribute after_seconds that is not set to 0, it defines a timeout after which the test should be rendered failed or successful. * Adapts the Depot Autopilot to support the new syntax in the test-package runtime files. However, for now, the Depot Autopilot is kept compatible to the old syntax as well. If the <events> tag is present, it is prioritized over the new syntax. Fixes #4922
89 lines
3.9 KiB
Plaintext
89 lines
3.9 KiB
Plaintext
<runtime ram="32M" caps="1000" binary="init">
|
|
|
|
<fail after_seconds="20"/>
|
|
<succeed>
|
|
[init -> test-xml_generator] --- XML generator test started ---
|
|
[init -> test-xml_generator]
|
|
[init -> test-xml_generator] used 308 bytes, result:
|
|
[init -> test-xml_generator]
|
|
[init -> test-xml_generator] <config xpos="27" ypos="34">
|
|
[init -> test-xml_generator] <box width="320" height="240"/>
|
|
[init -> test-xml_generator] <label name="a test">
|
|
[init -> test-xml_generator] <sub_label/>
|
|
[init -> test-xml_generator] <another_sub_label>
|
|
[init -> test-xml_generator] <sub_sub_label/>
|
|
[init -> test-xml_generator] </another_sub_label>
|
|
[init -> test-xml_generator] </label>
|
|
[init -> test-xml_generator] <bool true="true" false="false"/>
|
|
[init -> test-xml_generator] <signed int="-1" long="-2" longlong="-3"/>
|
|
[init -> test-xml_generator] <unsigned int="1" long="2" longlong="3"/>
|
|
[init -> test-xml_generator] </config>
|
|
[init -> test-xml_generator]
|
|
[init -> test-xml_generator] buffer exceeded (expected error)
|
|
[init -> test-xml_generator]
|
|
[init -> test-xml_generator] exception with value 10 on level 4 (expected error)
|
|
[init -> test-xml_generator] exception with value 20 on level 8 (expected error)
|
|
[init -> test-xml_generator] exception with value 30 on level 4 (expected error)
|
|
[init -> test-xml_generator] exception with value 11 on level 4 (expected error)
|
|
[init -> test-xml_generator] exception with value 21 on level 8 (expected error)
|
|
[init -> test-xml_generator] exception with value 31 on level 4 (expected error)
|
|
[init -> test-xml_generator] exception with value 12 on level 4 (expected error)
|
|
[init -> test-xml_generator] exception with value 22 on level 8 (expected error)
|
|
[init -> test-xml_generator] exception with value 32 on level 4 (expected error)
|
|
[init -> test-xml_generator] exception with value 40 on level 2 (expected error)
|
|
[init -> test-xml_generator]
|
|
[init -> test-xml_generator] used 419 bytes, result:
|
|
[init -> test-xml_generator]
|
|
[init -> test-xml_generator] <config>
|
|
[init -> test-xml_generator] <level1>
|
|
[init -> test-xml_generator] <level2 attr1="2271560481">
|
|
[init -> test-xml_generator] <level3 attr1="Hallo" attr2="123000">
|
|
[init -> test-xml_generator] <level4_1 attr1="true" attr2="Welt"/>
|
|
[init -> test-xml_generator] <level4_2/>
|
|
[init -> test-xml_generator] </level3>
|
|
[init -> test-xml_generator] <level3 attr1="Hallo" attr2="123001">
|
|
[init -> test-xml_generator] <level4_1 attr1="true" attr2="Welt"/>
|
|
[init -> test-xml_generator] <level4_2/>
|
|
[init -> test-xml_generator] </level3>
|
|
[init -> test-xml_generator] <level3 attr1="Hallo" attr2="123002">
|
|
[init -> test-xml_generator] <level4_1 attr1="true" attr2="Welt"/>
|
|
[init -> test-xml_generator] <level4_2/>
|
|
[init -> test-xml_generator] </level3>
|
|
[init -> test-xml_generator] </level2>
|
|
[init -> test-xml_generator] </level1>
|
|
[init -> test-xml_generator] </config>
|
|
[init -> test-xml_generator]
|
|
[init -> test-xml_generator] --- XML generator test finished ---*
|
|
[init] child "test-xml_generator" exited with exit value 0
|
|
</succeed>
|
|
<fail>Error: </fail>
|
|
|
|
<content>
|
|
<rom label="ld.lib.so"/>
|
|
<rom label="test-xml_generator"/>
|
|
</content>
|
|
|
|
<config>
|
|
<parent-provides>
|
|
<service name="ROM"/>
|
|
<service name="LOG"/>
|
|
<service name="CPU"/>
|
|
<service name="RM"/>
|
|
<service name="PD"/>
|
|
<service name="File_system"/>
|
|
</parent-provides>
|
|
<default-route>
|
|
<any-service> <any-child/> <parent/> </any-service>
|
|
</default-route>
|
|
<default caps="100"/>
|
|
<start name="test-xml_generator">
|
|
<resource name="RAM" quantum="2M"/>
|
|
<config>
|
|
<libgcov>
|
|
<annotate source="include/util/xml_generator.h"/>
|
|
</libgcov>
|
|
</config>
|
|
</start>
|
|
</config>
|
|
</runtime>
|