# RTC test assert_spec x86 if {[expr ![have_include power_on/qemu] && ![have_spec linux]]} { puts "Test requires Qemu or Linux." exit 0 } create_boot_directory import_from_depot [depot_user]/src/[base_src] \ [depot_user]/src/init \ [depot_user]/src/vfs \ [depot_user]/src/libc \ [depot_user]/src/posix \ [depot_user]/pkg/system_rtc-[board] set config { } install_config $config set build_components { test/system_rtc test/libc_rtc } set boot_components { test-system_rtc test-libc_rtc } build $build_components build_boot_image $boot_components append qemu_args " -nographic " run_genode_until ".*--- system RTC test finished ---.*\n" 60