test-check-code-hg: drop manual check of non-.py scripts
authorMatt Mackall <mpm@selenic.com>
Mon, 05 May 2014 13:41:29 -0500
changeset 21224 f9f405be4c3a
parent 21223 c35c027f5f43
child 21225 c58aa73bf0b9
test-check-code-hg: drop manual check of non-.py scripts
tests/test-check-code-hg.t
--- a/tests/test-check-code-hg.t	Mon May 05 13:42:58 2014 -0500
+++ b/tests/test-check-code-hg.t	Mon May 05 13:41:29 2014 -0500
@@ -3,28 +3,10 @@
   $ check_code="$TESTDIR"/../contrib/check-code.py
   $ cd "$TESTDIR"/..
 
-Prepare check for Python files without py extension
-
-  $ cp \
-  >   hg \
-  >   hgweb.cgi \
-  >   contrib/convert-repo \
-  >   contrib/dumprevlog \
-  >   contrib/hgweb.fcgi \
-  >   contrib/hgweb.wsgi \
-  >   contrib/simplemerge \
-  >   contrib/undumprevlog \
-  >   i18n/hggettext \
-  >   i18n/posplit \
-  >   tests/hghave \
-  >   tests/dummyssh \
-  >   "$TESTTMP"/
-  $ for f in "$TESTTMP"/*; do mv "$f" "$f.py"; done
-
 New errors are not allowed. Warnings are strongly discouraged.
 (The writing "no-che?k-code" is for not skipping this file when checking.)
 
-  $ { hg manifest 2>/dev/null; ls "$TESTTMP"/*.py | sed 's-\\-/-g'; } |
+  $ hg manifest 2>/dev/null | sed 's-\\-/-g' |
   >   xargs "$check_code" --warnings --per-file=0 || false
   Skipping hgext/zeroconf/Zeroconf.py it has no-che?k-code (glob)
   Skipping i18n/polib.py it has no-che?k-code (glob)