From e80930247f68fd13dd299f5191a5df0c48507af7 Mon Sep 17 00:00:00 2001 From: Dominik Picheta Date: Mon, 21 Apr 2014 00:15:09 +0100 Subject: [PATCH] Tester now ignores deprecation warnings. --- tests/testament/tester.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/testament/tester.nim b/tests/testament/tester.nim index 757e548898..50d0e6eac9 100644 --- a/tests/testament/tester.nim +++ b/tests/testament/tester.nim @@ -48,7 +48,7 @@ type let pegLineError = - peg"{[^(]*} '(' {\d+} ', ' \d+ ') ' ('Error'/'Warning') ':' \s* {.*}" + peg"{[^(]*} '(' {\d+} ', ' \d+ ') ' ('Error') ':' \s* {.*}" pegOtherError = peg"'Error:' \s* {.*}" pegSuccess = peg"'Hint: operation successful'.*" pegOfInterest = pegLineError / pegOtherError @@ -209,7 +209,7 @@ proc testNoSpec(r: var TResults, test: TTest) = # does not extract the spec because the file is not supposed to have any let tname = test.name.addFileExt(".nim") inc(r.total) - echo extractFilename(tname) + styledEcho "Processing ", fgCyan, extractFilename(tname) let given = callCompiler(cmdTemplate, test.name, test.options, test.target) r.addResult(test, "", given.msg, given.err) if given.err == reSuccess: inc(r.passed)