##// END OF EJS Templates
cbor: fix core test-check*...
cbor: fix core test-check* This patch fixes couple of test-check* tests by making sure they skip testing the third party library cbor. Differential Revision: https://phab.mercurial-scm.org/D2751

File last commit:

r37145:0e06d808 default
r37145:0e06d808 default
Show More
test-check-pyflakes.t
22 lines | 654 B | text/troff | Tads3Lexer
/ tests / test-check-pyflakes.t
timeless
tests: mark test-check-pyflakes.t as requiring hg1.0+...
r29138 #require test-repo pyflakes hg10
Matt Mackall
tests: add repository check for pyflakes test...
r21208
timeless
tests: silence test-repo obsolete warning...
r29219 $ . "$TESTDIR/helpers-testrepo.sh"
Simon Heimberg
tests: run pyflakes on files from manifest which could be python files...
r19377
run pyflakes on all tracked files ending in .py or without a file ending
(skipping binary file random-seed)
Matt Mackall
tests: add repository check for pyflakes test...
r21208
Augie Fackler
filterpyflakes: move self-test into test file...
r33367 $ cat > test.py <<EOF
> print(undefinedname)
> EOF
$ pyflakes test.py 2>/dev/null | "$TESTDIR/filterpyflakes.py"
test.py:1: undefined name 'undefinedname'
Jun Wu
test-check-pyflakes: do not leave test.py in the repo...
r33418 $ cd "`dirname "$TESTDIR"`"
Augie Fackler
filterpyflakes: move self-test into test file...
r33367
Yuya Nishihara
tests: alias syshg and syshgenv so they can be switched conditionally
r33199 $ testrepohg locate 'set:**.py or grep("^#!.*python")' \
Adam Simpkins
tests: use the system hg for examining the local repository...
r33116 > -X hgext/fsmonitor/pywatchman \
Augie Fackler
tests: exclude python-zstandard from pyflakes analysis
r30894 > -X mercurial/pycompat.py -X contrib/python-zstandard \
Pulkit Goyal
cbor: fix core test-check*...
r37145 > -X mercurial/thirdparty/cbor \
Pulkit Goyal
pycompat: make pycompat demandimport friendly...
r29584 > 2>/dev/null \
Simon Heimberg
tests: run pyflakes on files from manifest which could be python files...
r19377 > | xargs pyflakes 2>/dev/null | "$TESTDIR/filterpyflakes.py"
Matt Mackall
tests: fix pyflakes test whitespace breakage
r22053