mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-18 21:27:56 +00:00
run/sntp_client: adjust run_genode_until condition
By calling run_genode_until twice, we take into account that the boot time on some boards might long than on others, while still verifying that the second "set_rtc" is reported within about 1min (+10s). Fixes #5306
This commit is contained in:
parent
86848d2868
commit
110a24f650
@ -106,6 +106,8 @@ build_boot_image [build_artifacts]
|
||||
append qemu_args " -nographic "
|
||||
append_qemu_nic_args
|
||||
|
||||
set done_string "report_rom] <set_rtc year.*?report_rom] <set_rtc year.*?\n"
|
||||
set done_string {report_rom\] <set_rtc year.*?\n}
|
||||
|
||||
run_genode_until $done_string 90
|
||||
set serial_id [output_spawn_id]
|
||||
run_genode_until $done_string 70 $serial_id
|
||||
|
Loading…
Reference in New Issue
Block a user