when running unit tests, the tester will print only failures using colorless output (this should be better for nimbuild)

This commit is contained in:
Zahary Karadjov 2011-11-10 04:39:46 +02:00
commit da4076e0b7
3 changed files with 27 additions and 8 deletions

View file

@ -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"