comparison tests/test-check-code.t @ 30633:fd244e047ec0

tests: exclude bundled pywatchman from check-code test pywatchman is imported from upstream and therefore fails to pass linting. We have added 'no-check-code' manually to every file in the past. This is cumbersome and modifies upstream sources.
author David Soria Parra <davidsp@fb.com>
date Tue, 20 Dec 2016 20:28:41 -0800
parents 342d0cb4f446
children 01721d382c16
comparison
equal deleted inserted replaced
30632:1d0e4832e616 30633:fd244e047ec0
5 $ cd "$TESTDIR"/.. 5 $ cd "$TESTDIR"/..
6 6
7 New errors are not allowed. Warnings are strongly discouraged. 7 New errors are not allowed. Warnings are strongly discouraged.
8 (The writing "no-che?k-code" is for not skipping this file when checking.) 8 (The writing "no-che?k-code" is for not skipping this file when checking.)
9 9
10 $ hg locate -X contrib/python-zstandard | sed 's-\\-/-g' | 10 $ hg locate -X contrib/python-zstandard -X hgext/fsmonitor/pywatchman |
11 > xargs "$check_code" --warnings --per-file=0 || false 11 > sed 's-\\-/-g' | xargs "$check_code" --warnings --per-file=0 || false
12 Skipping hgext/fsmonitor/pywatchman/__init__.py it has no-che?k-code (glob)
13 Skipping hgext/fsmonitor/pywatchman/bser.c it has no-che?k-code (glob)
14 Skipping hgext/fsmonitor/pywatchman/capabilities.py it has no-che?k-code (glob)
15 Skipping hgext/fsmonitor/pywatchman/msc_stdint.h it has no-che?k-code (glob)
16 Skipping hgext/fsmonitor/pywatchman/pybser.py it has no-che?k-code (glob)
17 Skipping i18n/polib.py it has no-che?k-code (glob) 12 Skipping i18n/polib.py it has no-che?k-code (glob)
18 Skipping mercurial/httpclient/__init__.py it has no-che?k-code (glob) 13 Skipping mercurial/httpclient/__init__.py it has no-che?k-code (glob)
19 Skipping mercurial/httpclient/_readers.py it has no-che?k-code (glob) 14 Skipping mercurial/httpclient/_readers.py it has no-che?k-code (glob)
20 Skipping mercurial/statprof.py it has no-che?k-code (glob) 15 Skipping mercurial/statprof.py it has no-che?k-code (glob)
21 16