mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-21 02:01:38 +00:00
base-hw scheduler test: clean up
* Get rid of preprocessor macros. * Introduce Main as class. * Exit with -1 instead of endless loops on errors. * Don't try to deal with error conditions, just print a message and exit with -1. * Only one operation per line. Ref #4151 Ref #4710
This commit is contained in:
parent
0467b4aaf3
commit
615dd377dd
@ -35,8 +35,8 @@ build_boot_image "core ld.lib.so init test-cpu_scheduler"
|
||||
append qemu_args " -nographic"
|
||||
|
||||
# execute the test in qemu if the targeted platform is supported
|
||||
run_genode_until "done.*\n" 10
|
||||
run_genode_until "child .test-cpu_scheduler. exited with exit value .*\n" 10
|
||||
|
||||
# check the output
|
||||
grep_output {\[init -> test-cpu_scheduler\]}
|
||||
compare_output_to { [init -> test-cpu_scheduler] done }
|
||||
grep_output {child .test-cpu_scheduler. exited with exit value}
|
||||
compare_output_to { [init] child "test-cpu_scheduler" exited with exit value 0 }
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user