testament: don't try to test nimgrep if it's not there [backport:1.2] (#14085)

One more compiler source-specific tackled
This commit is contained in:
alaviss
2020-04-24 07:20:33 +00:00
committed by GitHub
parent dff007f66d
commit dd5ccc3e5a

View File

@@ -260,9 +260,10 @@ proc asyncTests(r: var TResults, cat: Category, options: string) =
# ------------------------- debugger tests ------------------------------------
proc debuggerTests(r: var TResults, cat: Category, options: string) =
var t = makeTest("tools/nimgrep", options & " --debugger:on", cat)
t.spec.action = actionCompile
testSpec r, t
if fileExists("tools/nimgrep.nim"):
var t = makeTest("tools/nimgrep", options & " --debugger:on", cat)
t.spec.action = actionCompile
testSpec r, t
# ------------------------- JS tests ------------------------------------------