2023-05-04 12:11:51 +00:00
|
|
|
build { core init lib/ld test/cpu_scheduler }
|
2014-10-09 12:24:27 +00:00
|
|
|
|
|
|
|
create_boot_directory
|
|
|
|
|
2016-09-13 09:01:15 +00:00
|
|
|
install_config {
|
|
|
|
<config>
|
|
|
|
<parent-provides>
|
|
|
|
<service name="LOG"/>
|
|
|
|
<service name="RM"/>
|
2017-03-08 09:26:39 +00:00
|
|
|
<service name="PD"/>
|
|
|
|
<service name="CPU"/>
|
|
|
|
<service name="ROM"/>
|
2016-09-13 09:01:15 +00:00
|
|
|
</parent-provides>
|
|
|
|
<default-route>
|
|
|
|
<any-service> <parent/> </any-service>
|
|
|
|
</default-route>
|
2019-12-23 21:56:01 +00:00
|
|
|
<start name="test-cpu_scheduler" caps="100">
|
2016-09-13 09:01:15 +00:00
|
|
|
<resource name="RAM" quantum="10M"/>
|
|
|
|
</start>
|
|
|
|
</config>}
|
2016-05-18 09:57:42 +00:00
|
|
|
|
2023-05-04 12:11:51 +00:00
|
|
|
build_boot_image [build_artifacts]
|
2014-10-09 12:24:27 +00:00
|
|
|
|
2023-05-04 12:11:51 +00:00
|
|
|
append qemu_args " -nographic"
|
2014-10-09 12:24:27 +00:00
|
|
|
|
2022-12-08 20:28:34 +00:00
|
|
|
run_genode_until "child .test-cpu_scheduler. exited with exit value .*\n" 10
|
2014-10-09 12:24:27 +00:00
|
|
|
|
2022-12-08 20:28:34 +00:00
|
|
|
grep_output {child .test-cpu_scheduler. exited with exit value}
|
2023-05-04 12:11:51 +00:00
|
|
|
|
2022-12-08 20:28:34 +00:00
|
|
|
compare_output_to { [init] child "test-cpu_scheduler" exited with exit value 0 }
|