diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2015-05-25 21:38:07 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2015-05-25 21:38:07 +0200 |
commit | 475520f692247e00be4bc4c926669469056a6850 (patch) | |
tree | 2036ba5635bd51e9951195092083c8852f12dd46 /koch.nim | |
parent | 71561bef5846fbbfea1f77ecba1f9d6d7426ca43 (diff) | |
parent | 411e602d134aba05a8d876da41e8abe1b04c374c (diff) | |
download | Nim-475520f692247e00be4bc4c926669469056a6850.tar.gz |
Merge pull request #2797 from avsej/pedantic-tester
Introduce pedantic mode for tester
Diffstat (limited to 'koch.nim')
-rw-r--r-- | koch.nim | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/koch.nim b/koch.nim index 55019b544..a951b422f 100644 --- a/koch.nim +++ b/koch.nim @@ -333,8 +333,10 @@ proc tests(args: string) = # taint mode test :-) exec "nim cc --taintMode:on tests/testament/tester" let tester = quoteShell(getCurrentDir() / "tests/testament/tester".exe) - exec tester & " " & (args|"all") + let success = tryExec tester & " " & (args|"all") exec tester & " html" + if not success: + quit("tests failed", QuitFailure) proc temp(args: string) = var output = "compiler" / "nim".exe |