Skip to content
Snippets Groups Projects
Commit 5cdc81d7 authored by Craig Tiller's avatar Craig Tiller
Browse files

Fix test mode

parent 1a718116
No related branches found
No related tags found
No related merge requests found
......@@ -62,7 +62,9 @@ for root, dirs, files in os.walk('templates'):
if test is None:
cmd.append(out)
else:
test[out] = tempfile.mkstemp()
tf = tempfile.mkstemp()
test[out] = tf[1]
os.close(tf[0])
cmd.append(test[out])
cmd.append(root + '/' + f)
jobs.append(jobset.JobSpec(cmd, shortname=out))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment