[PATCH 3 of 3 v2] tests: mark test-check-pyflakes.t as requiring hg1.0+

timeless timeless at fmr.im
Sun May 8 16:28:49 EDT 2016


# HG changeset patch
# User timeless <timeless at mozdev.org>
# Date 1462440369 0
#      Thu May 05 09:26:09 2016 +0000
# Node ID 46867185309ea972a6d092e603d8eb378c91c678
# Parent  f8240a5eda50df7765894a0ee80488612d65f331
# Available At bb://timeless/mercurial-crew
#              hg pull bb://timeless/mercurial-crew -r 46867185309e
tests: mark test-check-pyflakes.t as requiring hg1.0+

hg does not yet run with py3, so if you try:
./run-tests.py --local test-check-pyflakes.t

... it will try to run the local hg, which does not work
and thus, hg locate will return no output to stdout (and
stderr is sent to /dev/null).

If you do:
./run-tests.py --with-hg=~/bin/hg test-check-pyflakes.t
Then it should work, if your hg is new enough to have
a locate command (hg0.6 does not have locate).

diff -r f8240a5eda50 -r 46867185309e tests/test-check-pyflakes.t
--- a/tests/test-check-pyflakes.t	Thu May 05 09:12:26 2016 +0000
+++ b/tests/test-check-pyflakes.t	Thu May 05 09:26:09 2016 +0000
@@ -1,4 +1,4 @@
-#require test-repo pyflakes
+#require test-repo pyflakes hg10
 
   $ cd "`dirname "$TESTDIR"`"
 


More information about the Mercurial-devel mailing list