From a08846edf0a89946ec2aa0a33f43baac3d91a636 Mon Sep 17 00:00:00 2001 From: Adrian-Ken Rueegsegger Date: Wed, 24 Aug 2016 10:59:37 +0200 Subject: [PATCH] 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. --- tool/run/log/amt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tool/run/log/amt b/tool/run/log/amt index 8ff3740b7..6fdb4ac6e 100644 --- a/tool/run/log/amt +++ b/tool/run/log/amt @@ -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