mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-08 20:05:54 +00:00
Increase timeout of RTC test
It takes its time on sel4 and Qemu.
This commit is contained in:
parent
1ac33caa90
commit
8d63a3c1f3
@ -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
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user