changeset 17977:a6180647ead4

tests: only call check-code once The accepted warnings list is now empty, let's try to keep it that way.
author Matt Mackall <mpm@selenic.com>
date Mon, 26 Nov 2012 15:59:02 -0600
parents 09d5681d5b72
children 55b367bff8d2
files tests/test-check-code-hg.t
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-check-code-hg.t	Wed Nov 28 10:35:12 2012 -0800
+++ b/tests/test-check-code-hg.t	Mon Nov 26 15:59:02 2012 -0600
@@ -5,6 +5,7 @@
   >     echo "skipped: not a Mercurial working dir" >&2
   >     exit 80
   > fi
-  $ hg manifest | xargs "$check_code" || echo 'FAILURE IS NOT AN OPTION!!!'
 
-  $ hg manifest | xargs "$check_code" --warnings --nolineno --per-file=0 || true
+New errors are not allowed. Warnings are strongly discouraged.
+
+  $ hg manifest | xargs "$check_code" --warnings --nolineno --per-file=0