Increase timeout of RTC test

It takes its time on sel4 and Qemu.
This commit is contained in:
Christian Helmuth 2019-12-20 14:28:18 +01:00
parent 1ac33caa90
commit 8d63a3c1f3
2 changed files with 3 additions and 1 deletions

View File

@ -80,4 +80,4 @@ build_boot_image $boot_components
append qemu_args " -nographic "
run_genode_until ".*--- RTC test finished ---.*\n" 30
run_genode_until ".*--- RTC test finished ---.*\n" 60

View File

@ -103,6 +103,7 @@ struct Main
/* open sessions */
Timer::Connection timer(env);
log("test RTC reading");
for (unsigned i = 0; i < 4; ++i) {
Rtc::Timestamp now[] = { rtc1.current_time(), rtc2.current_time() };
@ -113,6 +114,7 @@ struct Main
}
/* test setting the RTC */
log("test RTC setting");
Attached_rom_dataspace config_rom { env, "config" };
bool const test_update = config_rom.xml().attribute_value("set_rtc", false);
if (test_update) {