proc test_char_repeat { } { # the character-repeat test is too timing sensitive to run reliably on # Qemu if {[have_include "power_on/qemu"]} { return 0 } # the legacy PIT timer driver is too inaccurate to produce stable results # for the character-repeat test if {[binary_name_timer] == "pit_timer_drv"} { return 0 } return 1 } # # Build # set build_components { core init timer server/report_rom server/input_filter test/input_filter } build $build_components create_boot_directory # # Generate config # append config { } append_if [test_char_repeat] config { } append config { } install_config $config # # Boot modules # set boot_modules { core ld.lib.so init timer report_rom input_filter test-input_filter } build_boot_image $boot_modules append qemu_args " -nographic " run_genode_until {.*child "test-input_filter" exited with exit value 0.*} 60