mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-20 06:07:59 +00:00
608df38402
Building a kernel test produced an error about a missing config apparently because of recent changes in the run tool. So, we add a dummy XML node as config. Ref #1972
29 lines
696 B
Plaintext
29 lines
696 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
|
|
|
|
# the init config is not used but the build system needs it
|
|
install_config {<dummy/>}
|
|
|
|
# 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 }
|