when running unit tests, the tester will print only failures using colorless output (this should be better for nimbuild)
This commit is contained in:
parent
489340658e
commit
da4076e0b7
3 changed files with 27 additions and 8 deletions
|
|
@ -391,6 +391,9 @@ proc outputJSON(reject, compile, run: TResults) =
|
|||
writeFile(jsonFile, s)
|
||||
|
||||
proc main() =
|
||||
os.putenv "NIMTEST_NO_COLOR", "1"
|
||||
os.putenv "NIMTEST_OUTPUT_LVL", "PRINT_FAILURES"
|
||||
|
||||
const
|
||||
compileJson = "compile.json"
|
||||
runJson = "run.json"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue