diff options
author | Dominik Picheta <dominikpicheta@googlemail.com> | 2014-04-21 00:15:09 +0100 |
---|---|---|
committer | Dominik Picheta <dominikpicheta@googlemail.com> | 2014-04-21 00:17:00 +0100 |
commit | e80930247f68fd13dd299f5191a5df0c48507af7 (patch) | |
tree | 19556c0055d972f7ac6307091b6cdd0a5b293f42 /tests | |
parent | 2c972427399da894f91d0a4bd067b63866bb20ea (diff) | |
download | Nim-e80930247f68fd13dd299f5191a5df0c48507af7.tar.gz |
Tester now ignores deprecation warnings.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/testament/tester.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testament/tester.nim b/tests/testament/tester.nim index 757e54889..50d0e6eac 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) |