Patchwork [2,of,2] tests: move the '-hg' postfix for all style tests

login
register
mail settings
Submitter Pierre-Yves David
Date Dec. 11, 2015, 5:46 p.m.
Message ID <c7dfd350c623200a61cb.1449855994@marginatus.alto.octopoid.net>
Download mbox | patch
Permalink /patch/11975/
State Accepted
Headers show

Comments

Pierre-Yves David - Dec. 11, 2015, 5:46 p.m.
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david@fb.com>
# Date 1449384579 28800
#      Sat Dec 05 22:49:39 2015 -0800
# Node ID c7dfd350c623200a61cb0317d96c96f93179ea61
# Parent  ccf479a499b33bdda63e706be9bd65f6268ac6a8
# EXP-Topic testcheck
# Available At http://hg.netv6.net/marmoute-wip/mercurial/
#              hg pull http://hg.netv6.net/marmoute-wip/mercurial/ -r c7dfd350c623
tests: move the '-hg' postfix for all style tests

We had them on 'test-check-code-hg.t' to avoid collision with the test checking
'check-code' itself. Now that this one have been rename, we can safely remove
this suffix for all of them. This get them in line with 'check-pyflakes.t'.

diff --git a/tests/test-check-commit-hg.t b/tests/test-check-commit.t
rename from tests/test-check-commit-hg.t
rename to tests/test-check-commit.t
diff --git a/tests/test-check-config-hg.t b/tests/test-check-config.t
rename from tests/test-check-config-hg.t
rename to tests/test-check-config.t
Matt Mackall - Dec. 16, 2015, 8:15 p.m.
On Fri, 2015-12-11 at 17:46 +0000, Pierre-Yves David wrote:
> # HG changeset patch
> # User Pierre-Yves David <pierre-yves.david@fb.com>
> # Date 1449384579 28800
> #      Sat Dec 05 22:49:39 2015 -0800
> # Node ID c7dfd350c623200a61cb0317d96c96f93179ea61
> # Parent  ccf479a499b33bdda63e706be9bd65f6268ac6a8
> # EXP-Topic testcheck
> # Available At http://hg.netv6.net/marmoute-wip/mercurial/
> #              hg pull http://hg.netv6.net/marmoute-wip/mercurial/ -r
> c7dfd350c623
> tests: move the '-hg' postfix for all style tests

These are queued for default, thanks.

-- 
Mathematics is the supreme nostalgia of our time.

Patch

diff --git a/tests/test-check-code-hg.t b/tests/test-check-code-hg.t
deleted file mode 100644
--- a/tests/test-check-code-hg.t
+++ /dev/null
@@ -1,15 +0,0 @@ 
-#require test-repo
-
-  $ check_code="$TESTDIR"/../contrib/check-code.py
-  $ cd "$TESTDIR"/..
-
-New errors are not allowed. Warnings are strongly discouraged.
-(The writing "no-che?k-code" is for not skipping this file when checking.)
-
-  $ hg locate | 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)
-  Skipping mercurial/httpclient/__init__.py it has no-che?k-code (glob)
-  Skipping mercurial/httpclient/_readers.py it has no-che?k-code (glob)
-  Skipping mercurial/httpclient/socketutil.py it has no-che?k-code (glob)
diff --git a/tests/test-check-code.t b/tests/test-check-code.t
new file mode 100644
--- /dev/null
+++ b/tests/test-check-code.t
@@ -0,0 +1,15 @@ 
+#require test-repo
+
+  $ check_code="$TESTDIR"/../contrib/check-code.py
+  $ cd "$TESTDIR"/..
+
+New errors are not allowed. Warnings are strongly discouraged.
+(The writing "no-che?k-code" is for not skipping this file when checking.)
+
+  $ hg locate | 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)
+  Skipping mercurial/httpclient/__init__.py it has no-che?k-code (glob)
+  Skipping mercurial/httpclient/_readers.py it has no-che?k-code (glob)
+  Skipping mercurial/httpclient/socketutil.py it has no-che?k-code (glob)