summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@eecs.umich.edu>2006-08-19 03:16:11 -0400
committerSteve Reinhardt <stever@eecs.umich.edu>2006-08-19 03:16:11 -0400
commit5d17465d93539068a6347dc882dab85695a5bc14 (patch)
tree25ddb0b8e5b7768d7826df7b1325c1e34d882a22
parenta12dbc3074d505789aeeacd312e3a708d7a1f03c (diff)
downloadgem5-5d17465d93539068a6347dc882dab85695a5bc14.tar.xz
SConscript:
Fix BATCH_CMD bug. tests/SConscript: Fix BATCH_CMD bug. --HG-- extra : convert_revision : 696d51a67790506db749244edf4afab920a63d1b
-rw-r--r--tests/SConscript1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/SConscript b/tests/SConscript
index 5aa507285..b538ec557 100644
--- a/tests/SConscript
+++ b/tests/SConscript
@@ -171,6 +171,7 @@ def test_builder(env, ref_dir):
# Prefix test run with batch job submission command if appropriate.
# Output redirection is also different for batch runs.
# Batch command also supports timeout arg (in seconds, not minutes).
+ timeout = 15 # used to be a param, probably should be again
if env['BATCH']:
cmd = [env['BATCH_CMD'], '-t', str(timeout * 60),
'-o', cmd_stdout, '-e', cmd_stderr, base_cmd]