Skip to content

Commit b00d6c4

Browse files
committed
only use non-standard options with cwltool
1 parent 45b57b0 commit b00d6c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cwltest/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ def run_test(args, i, tests): # type: (argparse.Namespace, int, List[Dict[str,
182182
test_command.extend([prefix, t[test_case_name]])
183183

184184
# Add prefixes if running on MacOSX so that boot2docker writes to /Users
185-
if 'darwin' in sys.platform:
185+
if 'darwin' in sys.platform and args.tool == 'cwltool':
186186
outdir = tempfile.mkdtemp(prefix=os.path.abspath(os.path.curdir))
187187
test_command.extend(["--tmp-outdir-prefix={}".format(outdir), "--tmpdir-prefix={}".format(outdir)])
188188
else:

0 commit comments

Comments
 (0)