mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 05:37:54 +00:00
f119d9ee8b
The patch also removes a few legacies along the way, unifies the coding style, and cuts back superfluous comments. Issue #4860
44 lines
1.0 KiB
Plaintext
44 lines
1.0 KiB
Plaintext
build { core init timer lib/ld test/timeout_smp }
|
|
|
|
create_boot_directory
|
|
|
|
install_config {
|
|
<config prio_levels="2">
|
|
<parent-provides>
|
|
<service name="ROM"/>
|
|
<service name="IRQ"/>
|
|
<service name="IO_MEM"/>
|
|
<service name="IO_PORT"/>
|
|
<service name="PD"/>
|
|
<service name="RM"/>
|
|
<service name="CPU"/>
|
|
<service name="LOG"/>
|
|
</parent-provides>
|
|
<default-route>
|
|
<any-service><parent/><any-child/></any-service>
|
|
</default-route>
|
|
<default caps="100"/>
|
|
<start name="timer" priority="0">
|
|
<resource name="RAM" quantum="1M"/>
|
|
<resource name="CPU" quantum="5"/>
|
|
<provides><service name="Timer"/></provides>
|
|
</start>
|
|
<start name="test" priority="-1">
|
|
<binary name="test-timeout_smp"/>
|
|
<resource name="RAM" quantum="10M"/>
|
|
<config ld_verbose="yes" />
|
|
</start>
|
|
</config>
|
|
}
|
|
|
|
build_boot_image [build_artifacts]
|
|
|
|
append qemu_args " -nographic"
|
|
|
|
run_genode_until "child \"test\" exited with exit value.*\n" 60
|
|
|
|
grep_output {\[init\] child "test" exited with exit value}
|
|
|
|
compare_output_to {[init] child "test" exited with exit value 0}
|
|
|