bugfix: 'nimrod i' works again

This commit is contained in:
Araq 2012-09-18 20:59:14 +02:00
commit cb6ad8cb74
3 changed files with 10 additions and 5 deletions

View file

@ -202,3 +202,7 @@ proc compileSpecialTests(r: var TResults, options: string) =
compileDLLTests(r, options)
compileDebuggerTests(r, options)
var given = callCompiler("nimrod i", "nimrod i", options)
r.addResult("nimrod i", given.msg, if given.err: reFailure else: reSuccess)
if not given.err: inc(r.passed)