if { ![have_board pbxa9] } {
puts "Platform is unsupported."
exit 0
}
create_boot_directory
import_from_depot [depot_user]/src/[base_src] \
[depot_user]/src/init \
[depot_user]/src/fs_report \
[depot_user]/src/fs_rom \
[depot_user]/src/platform \
[depot_user]/src/report_rom \
[depot_user]/src/vfs_import \
[depot_user]/src/vfs
build { test/platform }
install_config {
}
build_boot_image [build_artifacts]
append qemu_args "-nographic "
set good_string {
[init -> test-platform]
[init -> test-platform]
[init -> test-platform]
[init -> test-platform]
[init -> test-platform]
[init -> test-platform]
[init -> test-platform]
[init -> test-platform]
[init -> test-platform]
[init -> test-platform]
[init -> test-platform]
[init -> test-platform]
[init -> test-platform]
[init -> test-platform]
[init -> test-platform]
[init -> test-platform]
[init -> test-platform]
[init -> test-platform]
[init -> test-platform]
[init -> test-platform]
[init -> test-platform]
[init -> test-platform]
[init -> test-platform]
[init -> test-platform]
[init -> test-platform]
[init -> test-platform]
[init -> test-platform]
[init -> test-platform]
[init -> test-platform]
[init -> test-platform]
[init -> test-platform]
[init -> test-platform]
[init -> test-platform]
[init -> test-platform]
[init -> test-platform]
[init -> test-platform]
[init -> test-platform]
[init -> test-platform]
[init -> test-platform]
[init -> test-platform]
[init -> test-platform]
[init -> test-platform]
[init -> test-platform]
[init -> test-platform]
[init -> test-platform]
[init -> test-platform]
[init -> test-platform]
[init -> test-platform]
[init -> test-platform]
[init -> test-platform]
[init -> test-platform] Found next valid device of dummy type
[init -> test-platform] Test has ended!
}
run_genode_until "Test has ended!.*\n" 100
grep_output "init -> test-platform"
compare_output_to $good_string