mirror of
https://github.com/nim-lang/Nim.git
synced 2026-07-19 15:31:28 +00:00
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:
@@ -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 ------------------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user