tool/run: abort 'run_genode_until forever'

...when autopilot mode is enabled (RUN_OPT '--autopilot').

Issue #5432
This commit is contained in:
Roman Iten 2025-02-22 18:28:34 +01:00 committed by Christian Helmuth
parent 28994f8c27
commit faa5b9ca40

View File

@ -382,6 +382,11 @@ match_max -d 40000
# the error code -2.
#
proc run_genode_until {{wait_for_re forever} {timeout_value 0} {running_spawn_id -1}} {
if {$wait_for_re == "forever"} {
assert {![have_cmd_arg --autopilot]}
}
#
# If a running_spawn_id is specified, wait for the expected output
#