From 37325564689c638ef409c79b8380d7564f173c72 Mon Sep 17 00:00:00 2001 From: Timothee Cour Date: Sun, 28 Jun 2020 14:34:34 -0700 Subject: fix `./koch tests` following #14823 (#14845) --- testament/testament.nim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- cgit 1.4.1-2-gfad0