build { core init lib/ld test/migrate timer } if {![have_include "power_on/qemu"]} { puts "Run script is not supported on this platform" exit 0 } if {[have_spec foc] && ([have_board pbxa9] || [have_board rpi3])} { # foc kernel does detect solely 1 CPU */ puts "Run script is not supported on this platform" exit 0 } if {![have_spec nova] && ![have_spec foc] && ![have_spec sel4]} { puts "Run script is not supported on this platform" exit 0 } create_boot_directory append config { } install_config $config build_boot_image [build_artifacts] append qemu_args "-nographic " append qemu_args "-smp 4,cores=4,threads=1" run_genode_until {.*test completed successfully.*\n} 70 grep_output {^\[init -> test-migrate\] \[ep\] thread 'migrate' migrated, .*} compare_output_to { [init -> test-migrate] [ep] thread 'migrate' migrated, location=1x0 [init -> test-migrate] [ep] thread 'migrate' migrated, location=2x0 [init -> test-migrate] [ep] thread 'migrate' migrated, location=3x0 [init -> test-migrate] [ep] thread 'migrate' migrated, location=0x0 }