From: Steve Reinhardt Date: Sat, 19 Aug 2006 07:16:11 +0000 (-0400) Subject: SConscript: X-Git-Tag: m5_2.0_beta1_patch1~16 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5d17465d93539068a6347dc882dab85695a5bc14;p=gem5.git SConscript: Fix BATCH_CMD bug. tests/SConscript: Fix BATCH_CMD bug. --HG-- extra : convert_revision : 696d51a67790506db749244edf4afab920a63d1b --- 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]