changeset 21224:f9f405be4c3a

test-check-code-hg: drop manual check of non-.py scripts
author Matt Mackall <mpm@selenic.com>
date Mon, 05 May 2014 13:41:29 -0500
parents c35c027f5f43
children c58aa73bf0b9
files tests/test-check-code-hg.t
diffstat 1 files changed, 1 insertions(+), 19 deletions(-) [+]
line wrap: on
line diff
--- 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)