SConscript:
Fix BATCH_CMD bug. tests/SConscript: Fix BATCH_CMD bug. --HG-- extra : convert_revision : 696d51a67790506db749244edf4afab920a63d1b
This commit is contained in:
parent
a12dbc3074
commit
5d17465d93
1 changed files with 1 additions and 0 deletions
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue