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_drv \
[depot_user]/src/report_rom \
[depot_user]/src/vfs_import \
[depot_user]/src/vfs
build { test/platform_drv }
install_config {
}
build_boot_image [build_artifacts]
append qemu_args "-nographic "
set good_string {
[init -> test-platform_drv]
[init -> test-platform_drv]
[init -> test-platform_drv]
[init -> test-platform_drv]
[init -> test-platform_drv]
[init -> test-platform_drv]
[init -> test-platform_drv]
[init -> test-platform_drv]
[init -> test-platform_drv]
[init -> test-platform_drv]
[init -> test-platform_drv]
[init -> test-platform_drv]
[init -> test-platform_drv]
[init -> test-platform_drv]
[init -> test-platform_drv]
[init -> test-platform_drv]
[init -> test-platform_drv]
[init -> test-platform_drv]
[init -> test-platform_drv]
[init -> test-platform_drv]
[init -> test-platform_drv]
[init -> test-platform_drv]
[init -> test-platform_drv]
[init -> test-platform_drv]
[init -> test-platform_drv]
[init -> test-platform_drv]
[init -> test-platform_drv]
[init -> test-platform_drv]
[init -> test-platform_drv]
[init -> test-platform_drv]
[init -> test-platform_drv]
[init -> test-platform_drv]
[init -> test-platform_drv]
[init -> test-platform_drv]
[init -> test-platform_drv]
[init -> test-platform_drv]
[init -> test-platform_drv]
[init -> test-platform_drv]
[init -> test-platform_drv]
[init -> test-platform_drv]
[init -> test-platform_drv]
[init -> test-platform_drv]
[init -> test-platform_drv]
[init -> test-platform_drv]
[init -> test-platform_drv]
[init -> test-platform_drv]
[init -> test-platform_drv]
[init -> test-platform_drv]
[init -> test-platform_drv]
[init -> test-platform_drv]
[init -> test-platform_drv] Found next valid device of dummy type
[init -> test-platform_drv] Test has ended!
}
run_genode_until "Test has ended!.*\n" 100
grep_output "init -> test-platform_drv"
compare_output_to $good_string