diff options
Diffstat (limited to 'compiler/nimrod.nim')
-rw-r--r-- | compiler/nimrod.nim | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/compiler/nimrod.nim b/compiler/nimrod.nim index 3fa80cebb..2f10e32e3 100644 --- a/compiler/nimrod.nim +++ b/compiler/nimrod.nim @@ -76,5 +76,7 @@ when compileOption("gc", "v2") or compileOption("gc", "refc"): # the new correct mark&sweet collector is too slow :-/ GC_disableMarkAndSweep() condsyms.InitDefines() -HandleCmdLine() -quit(int8(msgs.gErrorCounter > 0)) + +when not defined(selftest): + HandleCmdLine() + quit(int8(msgs.gErrorCounter > 0)) |