if {[have_board imx7d_sabre] ||
[have_board imx6q_sabrelite] ||
[have_board rpi3] ||
[have_board zynq_qemu] ||
[have_board imx53_qsb_tz] ||
[have_board imx53_qsb] && [have_spec foc]} {
puts "\n Run script is not supported on this platform. \n";
exit 0
}
if {[get_cmd_switch --autopilot] && ([have_spec linux] ||
[have_board virt_qemu_riscv])} {
puts "\nAutopilot run is not supported on this platform\n"
exit 0
}
create_boot_directory
import_from_depot [depot_user]/src/[base_src] \
[depot_user]/pkg/[drivers_interactive_pkg] \
[depot_user]/src/nitpicker \
[depot_user]/src/gui_fb \
[depot_user]/src/init
build { test/fb_bench }
install_config {
}
set fd [open [run_dir]/genode/focus w]
puts $fd " \" domain=\"default\"/>"
close $fd
build_boot_image { test-fb_bench }
# disable QEMU graphic to enable testing on our machines without SDL and X
append qemu_args "-nographic "
run_genode_until {.*--- Framebuffer benchmark finished ---.*\n} 40