Skip to content
Permalink
Browse files

sanitycheck: extend coverage timeout

If GCOV coverage is enabled, the coverage dump happens after
"PROJECT EXECUTION SUCCESSFUL" is printed. In some cases,
the additional time added was not enough to capture all the
GCOV output on a heavily loaded system before the emulator
gets killed.

Ideally, the decision to kill the emulator needs to be smarter
and less race-prone, but that can wait for a future
enhancement.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
  • Loading branch information...
andrewboie authored and nashif committed Jul 1, 2019
1 parent f5b3750 commit d62e229680574718385b420516c3613f3d8ae15a
Showing with 1 addition and 1 deletion.
  1. +1 −1 scripts/sanitycheck
@@ -821,7 +821,7 @@ class QEMUHandler(Handler):
if not timeout_extended or harness.capture_coverage:
timeout_extended= True
if harness.capture_coverage:
timeout_time = time.time() + 10
timeout_time = time.time() + 30
else:
timeout_time = time.time() + 2

0 comments on commit d62e229

Please sign in to comment.
You can’t perform that action at this time.