mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-04 04:54:12 +00:00
25 lines
598 B
Plaintext
25 lines
598 B
Plaintext
|
#
|
||
|
# \brief Test CPU-scheduler implementation of core
|
||
|
# \author Martin Stein
|
||
|
# \date 2014-09-30
|
||
|
#
|
||
|
|
||
|
# build program images
|
||
|
build "test/cpu_scheduler"
|
||
|
|
||
|
# create directory where the boot files are written to
|
||
|
create_boot_directory
|
||
|
|
||
|
# create single boot image from the compiled program images
|
||
|
build_boot_image "test-cpu_scheduler" test
|
||
|
|
||
|
# configure qemu to use 64 MB RAM and avoid GUI mode
|
||
|
append qemu_args " -m 64 -nographic"
|
||
|
|
||
|
# execute the test in qemu if the targeted platform is supported
|
||
|
run_genode_until "done.*\n" 10
|
||
|
|
||
|
# check the output
|
||
|
grep_output {\[test\]}
|
||
|
compare_output_to { [test] done }
|