proc platform_supported { } { if {[have_spec x86_64] && [have_board pc]} { if {![have_spec linux] && ![have_spec foc] && ![have_spec sel4]} { return 1 } } return 0 } if {![platform_supported]} { puts "Run script is not supported on this platform" exit 0 } build { core lib/ld init timer monitor lib/sandbox test/monitor server/terminal_crosslink } create_boot_directory install_config { } build_boot_image [build_artifacts] append qemu_args "-nographic -smp 4,cores=4 " run_genode_until {\[init -> monitor\] child "test-monitor" exited with exit value 0.*\n} 30