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
commit dd5ccc3e5a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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