##// END OF EJS Templates
tests: check-code all python files in one run
Simon Heimberg -
r19384:96fd9af7 default
parent child Browse files
Show More
@@ -6,13 +6,7 b''
6 > exit 80
6 > exit 80
7 > fi
7 > fi
8
8
9 New errors are not allowed. Warnings are strongly discouraged.
9 Prepare check for Python files without py extension
10
11 $ hg manifest 2>/dev/null \
12 > | xargs "$check_code" --warnings --nolineno --per-file=0 \
13 > || false
14
15 Check Python files without py extension
16
10
17 $ cp \
11 $ cp \
18 > hg \
12 > hg \
@@ -29,5 +23,9 b' Check Python files without py extension'
29 > tests/dummyssh \
23 > tests/dummyssh \
30 > "$TESTTMP"/
24 > "$TESTTMP"/
31 $ for f in "$TESTTMP"/*; do cp "$f" "$f.py"; done
25 $ for f in "$TESTTMP"/*; do cp "$f" "$f.py"; done
32 $ "$check_code" --warnings --nolineno --per-file=0 "$TESTTMP"/*.py \
26
27 New errors are not allowed. Warnings are strongly discouraged.
28
29 $ { hg manifest 2>/dev/null; ls "$TESTTMP"/*.py; } \
30 > | xargs "$check_code" --warnings --nolineno --per-file=0 \
33 > || false
31 > || false
General Comments 0
You need to be logged in to leave comments. Login now