##// END OF EJS Templates
tests: only call check-code once...
Matt Mackall -
r17977:a6180647 default
parent child Browse files
Show More
@@ -1,10 +1,11 b''
1 1 $ check_code="$TESTDIR"/../contrib/check-code.py
2 2 $ cd "$TESTDIR"/..
3 3 $ if hg identify -q > /dev/null; then :
4 4 > else
5 5 > echo "skipped: not a Mercurial working dir" >&2
6 6 > exit 80
7 7 > fi
8 $ hg manifest | xargs "$check_code" || echo 'FAILURE IS NOT AN OPTION!!!'
9 8
10 $ hg manifest | xargs "$check_code" --warnings --nolineno --per-file=0 || true
9 New errors are not allowed. Warnings are strongly discouraged.
10
11 $ hg manifest | xargs "$check_code" --warnings --nolineno --per-file=0
General Comments 0
You need to be logged in to leave comments. Login now