SConscript:
Fix BATCH_CMD bug.
tests/SConscript:
Fix BATCH_CMD bug.
--HG--
extra : convert_revision : 696d51a67790506db749244edf4afab920a63d1b
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user