summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2020-06-28 14:34:34 -0700
committerGitHub <noreply@github.com>2020-06-28 14:34:34 -0700
commit37325564689c638ef409c79b8380d7564f173c72 (patch)
tree1a1c6ac4cd8646d0ec810fd233512f5b8644dd2a
parent62394616e848e7a94bc0208d6535df6f582e74ce (diff)
downloadNim-37325564689c638ef409c79b8380d7564f173c72.tar.gz
fix `./koch tests` following #14823 (#14845)
-rw-r--r--testament/testament.nim3
1 files changed, 2 insertions, 1 deletions
diff --git a/testament/testament.nim b/testament/testament.nim
index 58c4e5196..83446336c 100644
--- a/testament/testament.nim
+++ b/testament/testament.nim
@@ -693,7 +693,8 @@ proc main() =
       myself &= " " & quoteShell("--targets:" & targetsStr)
 
     myself &= " " & quoteShell("--nim:" & compilerPrefix)
-    myself &= " --batch:" & testamentData0.batchArg
+    if testamentData0.batchArg.len > 0:
+      myself &= " --batch:" & testamentData0.batchArg
 
     if skipFrom.len > 0:
       myself &= " " & quoteShell("--skipFrom:" & skipFrom)