changeset 1100:6dc827703bfb

tests: restore the use of the right 'hg' when testing w/old versions Since we switched to using our own vendored copy of run-tests.py in ed168ce47715, the 'make test-x.y' rules to test against specific Mercurial versions weren't. Add --with-hg to the invocation to restore the correct behavior.
author Kevin Bullock <kbullock@ringworld.org>
date Fri, 02 Feb 2018 10:06:57 -0600
parents ed168ce47715
children 843f409526fb
files Makefile
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Sun Dec 24 12:05:22 2017 -0500
+++ b/Makefile	Fri Feb 02 10:06:57 2018 -0600
@@ -19,7 +19,7 @@
 	@echo "Path to crew repo is $(CREW) - set this with CREW= if needed."
 	hg -R $(CREW) checkout $$(echo $@ | sed s/tests-//) && \
 	(cd $(CREW) ; $(MAKE) clean local) && \
-	cd tests && $(PYTHON) run-tests.py $(TESTFLAGS)
+	cd tests && $(PYTHON) run-tests.py --with-hg=$(CREW)/hg $(TESTFLAGS)
 
 # This is intended to be the authoritative list of Hg versions that this
 # extension is tested with.  Versions prior to the version that ships in the