[PATCH 3 of 3 v2] tests: mark test-check-pyflakes.t as requiring hg1.0+
timeless
timeless at fmr.im
Wed May 11 12:54:01 UTC 2016
# HG changeset patch
# User timeless <timeless at mozdev.org>
# Date 1462440369 0
# Thu May 05 09:26:09 2016 +0000
# Node ID 2c20d886b44a4fbbd343330da2f4bc76f01330a3
# Parent 12ab239a9766765ae79d97eea3a743e2344d1974
# Available At bb://timeless/mercurial-crew
# hg pull bb://timeless/mercurial-crew -r 2c20d886b44a
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 12ab239a9766 -r 2c20d886b44a 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