genode/repos/base-hw/run/cpu_scheduler.run
Martin Stein de9d69a6d7 hw: re-enable kernel tests with the new run env
The new run env doesn't pass the "core_type" parameter at one point
which is why we have to pass it through a global HW-specific variable.

Ref #1464
2015-04-23 16:51:33 +02:00

26 lines
609 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
set core_test 1
build_boot_image "test-cpu_scheduler"
# 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 }