if {![have_spec x86_64]} { puts "\nTest requires x86_64\n" exit 0 } if {[have_spec linux]} { puts "\nRun script is not supported on this platform\n" exit 0 } create_boot_directory import_from_depot \ [depot_user]/src/[base_src] \ [depot_user]/src/init \ [depot_user]/src/nic_loopback \ [depot_user]/src/ram_block \ [depot_user]/src/rtc_drv \ [depot_user]/src/sequence \ append config { } if { ![get_cmd_switch --autopilot] || ![have_include "power_on/qemu"] } { append config { } } append config { } install_config $config build { test/solo5 } build_boot_image { solo5.lib.so solo5-test_blk solo5-test_fpu solo5-test_globals solo5-test_hello solo5-test_quiet solo5-test_time } append qemu_args " -nographic " run_genode_until {child "test" exited with exit value 0} 40