Commits

Augie Fackler committed 3a70480

Makefile: test running improvements from hg-git

  • Participants
  • Parent commits 2055272

Comments (0)

Files changed (1)

 
 test-%:
 	cd tests && $(PYTHON) run-tests.py --with-hg=`which hg` $(TESTFLAGS) $@
-.PHONY: help all local build doc clean install install-bin install-doc \
-	install-home install-home-bin install-home-doc dist dist-notests tests \
-	update-pot
+
+tests-%:
+	@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 ) && \
+	cd tests && $(PYTHON) $(CREW)/tests/run-tests.py $(TESTFLAGS)
+
+all-version-tests: tests-1.4.3 tests-1.5.4 tests-1.6.2 tests-tip
+
+.PHONY: help all tests all-version-tests