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:
Roman Iten 2024-07-24 11:03:43 +02:00 committed by Christian Helmuth
parent 86848d2868
commit 110a24f650

View File

@ -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