add diagnostic message to all_tests.nim
This commit is contained in:
parent
7a70cbeddc
commit
a45792cede
|
@ -10,7 +10,10 @@ import macros, strutils, os, unittest, osproc
|
|||
proc executeMyself(numModules: int): int =
|
||||
let appName = getAppFilename()
|
||||
for i in 0..<numModules:
|
||||
result = result or execCmd(appName & " " & $i)
|
||||
let execResult = execCmd(appName & " " & $i)
|
||||
if execResult != 0:
|
||||
stderr.writeLine("subtest no: " & $i & " failed")
|
||||
result = result or execResult
|
||||
|
||||
proc getImportStmt(stmtList: NimNode): NimNode =
|
||||
result = stmtList[0]
|
||||
|
|
Loading…
Reference in New Issue