tests/test-check-code.t
changeset 30435 b86a448a2965
parent 30253 b032a7b676c6
child 30540 d955cebd8d6a
equal deleted inserted replaced
30434:2e484bdea8c4 30435:b86a448a2965
     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 | sed 's-\\-/-g' |
    10   $ hg locate -X contrib/python-zstandard | sed 's-\\-/-g' |
    11   >   xargs "$check_code" --warnings --per-file=0 || false
    11   >   xargs "$check_code" --warnings --per-file=0 || false
    12   Skipping hgext/fsmonitor/pywatchman/__init__.py it has no-che?k-code (glob)
    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)
    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)
    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)
    15   Skipping hgext/fsmonitor/pywatchman/msc_stdint.h it has no-che?k-code (glob)