test-check-code-hg.t
15 lines
| 661 B
| text/troff
|
Tads3Lexer
/ tests / test-check-code-hg.t
Matt Mackall
|
r22047 | #require test-repo | ||
Matt Mackall
|
r21223 | |||
Mads Kiilerich
|
r15557 | $ check_code="$TESTDIR"/../contrib/check-code.py | ||
$ cd "$TESTDIR"/.. | ||||
Mads Kiilerich
|
r15558 | |||
Simon Heimberg
|
r19384 | New errors are not allowed. Warnings are strongly discouraged. | ||
Simon Heimberg
|
r20239 | (The writing "no-che?k-code" is for not skipping this file when checking.) | ||
Simon Heimberg
|
r19384 | |||
Matt Mackall
|
r21225 | $ hg locate | sed 's-\\-/-g' | | ||
Simon Heimberg
|
r19495 | > xargs "$check_code" --warnings --per-file=0 || false | ||
Simon Heimberg
|
r20239 | Skipping hgext/zeroconf/Zeroconf.py it has no-che?k-code (glob) | ||
Skipping i18n/polib.py it has no-che?k-code (glob) | ||||
Skipping mercurial/httpclient/__init__.py it has no-che?k-code (glob) | ||||
Skipping mercurial/httpclient/_readers.py it has no-che?k-code (glob) | ||||
Skipping mercurial/httpclient/socketutil.py it has no-che?k-code (glob) | ||||