tests/test-check-code-hg.t
changeset 20239 16b5f498f49c
parent 19495 9aee3d014394
child 21223 c35c027f5f43
equal deleted inserted replaced
20238:81e905790b30 20239:16b5f498f49c
    23   >   tests/dummyssh \
    23   >   tests/dummyssh \
    24   >   "$TESTTMP"/
    24   >   "$TESTTMP"/
    25   $ for f in "$TESTTMP"/*; do mv "$f" "$f.py"; done
    25   $ for f in "$TESTTMP"/*; do mv "$f" "$f.py"; done
    26 
    26 
    27 New errors are not allowed. Warnings are strongly discouraged.
    27 New errors are not allowed. Warnings are strongly discouraged.
       
    28 (The writing "no-che?k-code" is for not skipping this file when checking.)
    28 
    29 
    29   $ { hg manifest 2>/dev/null; ls "$TESTTMP"/*.py | sed 's-\\-/-g'; } |
    30   $ { hg manifest 2>/dev/null; ls "$TESTTMP"/*.py | sed 's-\\-/-g'; } |
    30   >   xargs "$check_code" --warnings --per-file=0 || false
    31   >   xargs "$check_code" --warnings --per-file=0 || false
       
    32   Skipping hgext/zeroconf/Zeroconf.py it has no-che?k-code (glob)
       
    33   Skipping i18n/polib.py it has no-che?k-code (glob)
       
    34   Skipping mercurial/httpclient/__init__.py it has no-che?k-code (glob)
       
    35   Skipping mercurial/httpclient/_readers.py it has no-che?k-code (glob)
       
    36   Skipping mercurial/httpclient/socketutil.py it has no-che?k-code (glob)