summaryrefslogtreecommitdiff
path: root/tests/SConscript
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2015-03-02 04:00:29 -0500
committerAndreas Hansson <andreas.hansson@arm.com>2015-03-02 04:00:29 -0500
commiteed0795f3abf6da71ba62307ae29c975b4ad9246 (patch)
tree790221e88ff3fa5e19d9614db5b4d6b93eb3c356 /tests/SConscript
parent3b4ae7debb58e4f3fc4a5f2ad9f7faf896f854d8 (diff)
downloadgem5-eed0795f3abf6da71ba62307ae29c975b4ad9246.tar.xz
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.
Diffstat (limited to 'tests/SConscript')
-rw-r--r--tests/SConscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/SConscript b/tests/SConscript
index a4b259681..3822de234 100644
--- a/tests/SConscript
+++ b/tests/SConscript
@@ -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.