tests: Run regression timeout as foreground
Allow the user to send signals such as Ctrl C to the gem5 runs. Note that this assumes coreutils >= 8.13, which aligns with Ubuntu 12.04 and RHE6.
This commit is contained in:
@@ -107,7 +107,7 @@ def run_test(target, source, env):
|
||||
# The slowest regression (bzip2) requires ~2.8 hours;
|
||||
# 4 hours was chosen to be conservative.
|
||||
elif env['TIMEOUT']:
|
||||
cmd = 'timeout 4h %s' % cmd
|
||||
cmd = 'timeout --foreground 4h %s' % cmd
|
||||
|
||||
# Create a default value for the status string, changed as needed
|
||||
# based on the status.
|
||||
|
||||
Reference in New Issue
Block a user