mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-20 06:07:59 +00:00
amt: Introduce --log-amt-timeout run parameter
The new parameter specifies the additional timeout duration in seconds which is incurred by AMT log processing, e.g. time spent waiting for the system to boot.
This commit is contained in:
parent
d2e246d916
commit
a08846edf0
@ -23,6 +23,10 @@ proc log_amt_filter { } {
|
||||
return [get_cmd_arg_first --log-amt-filter ""]
|
||||
}
|
||||
|
||||
proc log_amt_timeout { } {
|
||||
return [get_cmd_arg_first --log-amt-timeout "30"]
|
||||
}
|
||||
|
||||
##
|
||||
# Log output of the test machine using Intel's AMT
|
||||
#
|
||||
@ -64,7 +68,7 @@ proc run_log { wait_for_re timeout_value } {
|
||||
if {$wait_for_re == "forever"} {
|
||||
set timeout -1
|
||||
} else {
|
||||
set timeout [expr $timeout_value + 30]
|
||||
set timeout [expr $timeout_value + [log_amt_timeout]]
|
||||
}
|
||||
set exit_result 1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user