summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorAman Gupta <aman@tmm1.net>2015-09-30 19:32:09 -0700
committerAman Gupta <aman@tmm1.net>2015-09-30 19:32:09 -0700
commitb093c0abd095468330e83da4a145d5fa9447a824 (patch)
tree4060c9fcf9341a8cdc5fdd19834330f0d033dc04 /tests
parentded5753292d837d2b4390caa64d3ebe8c8babc7c (diff)
downloadNim-b093c0abd095468330e83da4a145d5fa9447a824.tar.gz
show full compiler output with reNimcCrash
Diffstat (limited to 'tests')
-rw-r--r--tests/testament/tester.nim2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/testament/tester.nim b/tests/testament/tester.nim
index 3961f15c4..e52988682 100644
--- a/tests/testament/tester.nim
+++ b/tests/testament/tester.nim
@@ -213,6 +213,8 @@ proc compilerOutputTests(test: TTest, given: var TSpec, expected: TSpec;
       expectedmsg = expected.nimout
       givenmsg = given.nimout.strip
       nimoutCheck(test, expectedmsg, given)
+  else:
+    givenmsg = given.nimout.strip
   if given.err == reSuccess: inc(r.passed)
   r.addResult(test, expectedmsg, givenmsg, given.err)