##// END OF EJS Templates
tests: only call check-code once...
tests: only call check-code once The accepted warnings list is now empty, let's try to keep it that way.

File last commit:

r17977:a6180647 default
r17977:a6180647 default
Show More
test-check-code-hg.t
11 lines | 340 B | text/troff | Tads3Lexer
/ tests / test-check-code-hg.t
$ check_code="$TESTDIR"/../contrib/check-code.py
$ cd "$TESTDIR"/..
$ if hg identify -q > /dev/null; then :
> else
> echo "skipped: not a Mercurial working dir" >&2
> exit 80
> fi
New errors are not allowed. Warnings are strongly discouraged.
$ hg manifest | xargs "$check_code" --warnings --nolineno --per-file=0