Patchwork [4,of,6] tests: run import-checker with tests .t files

login
register
mail settings
Submitter timeless@mozdev.org
Date April 12, 2016, 9:54 p.m.
Message ID <4420d78ddf3ceb7cd443.1460498042@waste.org>
Download mbox | patch
Permalink /patch/14564/
State Superseded
Headers show

Comments

timeless@mozdev.org - April 12, 2016, 9:54 p.m.
# HG changeset patch
# User timeless <timeless@mozdev.org>
# Date 1460472216 0
#      Tue Apr 12 14:43:36 2016 +0000
# Node ID 4420d78ddf3ceb7cd4438627aacb6a68bd703a88
# Parent  97c7192fed4cb0846a848a05e2f34e7fbea5179e
tests: run import-checker with tests .t files

Patch

diff --git a/tests/test-check-module-imports.t b/tests/test-check-module-imports.t
--- a/tests/test-check-module-imports.t
+++ b/tests/test-check-module-imports.t
@@ -145,11 +145,22 @@ 
 outputs, which should be fixed later.
 
   $ hg locate 'mercurial/**.py' 'hgext/**.py' 'tests/**.py' \
+  > 'tests/**.t' \
   > -X tests/test-hgweb-auth.py \
   > -X tests/hypothesishelpers.py \
   > -X tests/test-ctxmanager.py \
   > -X tests/test-lock.py \
   > -X tests/test-verify-repo-operations.py \
+  > -X tests/test-hook.t \
+  > -X tests/test-import.t \
+  > -X tests/test-check-module-imports.t \
+  > -X tests/test-commit-interactive.t \
+  > -X tests/test-contrib-check-code.t \
+  > -X tests/test-extension.t \
+  > -X tests/test-hghave.t \
+  > -X tests/test-hgweb-no-path-info.t \
+  > -X tests/test-hgweb-no-request-uri.t \
+  > -X tests/test-hgweb-non-interactive.t \
   > | sed 's-\\-/-g' | python "$import_checker" -
   Import cycle: hgext.largefiles.basestore -> hgext.largefiles.localstore -> hgext.largefiles.basestore
   [1]