mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 21:57:55 +00:00
autopilot: add '--autopilot' run option
The '--autopilot' option makes it possible for a run script to detect if it is being executed by the autopilot by if { [get_cmd_switch --autopilot] } { ... } In that case, the run script could do an automated test, whereas the test could be interactive when run without this option. Fixes #2076
This commit is contained in:
parent
a08846edf0
commit
16f0a69a8b
@ -309,7 +309,7 @@ foreach platform $platforms {
|
||||
if {[info exists ::env(RUN_OPT_AUTOPILOT)]} {
|
||||
set kernel [exec echo $platform |& sed {s/_.*//}]
|
||||
|
||||
exec echo "RUN_OPT=--include boot_dir/$kernel $::env(RUN_OPT_AUTOPILOT)" >> $build_conf
|
||||
exec echo "RUN_OPT=--include boot_dir/$kernel --autopilot $::env(RUN_OPT_AUTOPILOT)" >> $build_conf
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user