changeset 5385:5be8fb87ef28

makefile: remove different version tests, currently it's done via CI These targets were useful at some point. But currently we have too many tests that would fail on older hg versions when not using the appropriate compatibility branch, so the targets have limited usefulness. Right now the task of testing evolve and topic on every supported hg version is offloaded to the CI, where every compatibility branch gets its own separate pipeline, and that works and looks well. It would be nice to have a script (not necessary a make target) to automate the juggling of various compatibility branches and corresponding hg versions locally, but right now it's too much work for not much profit and so is not a priority. For now it makes more sense to remove these make targets than to fix and maintain them.
author Anton Shestakov <av6@dwimlabs.net>
date Tue, 07 Jul 2020 20:10:00 +0800
parents 18a6f5ffab1b
children 77729ad7cb0c
files Makefile
diffstat 1 files changed, 0 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Tue Jul 07 19:36:27 2020 +0800
+++ b/Makefile	Tue Jul 07 20:10:00 2020 +0800
@@ -8,8 +8,6 @@
 	@echo '  deb-prepare        - prepare the build of a debian package'
 	@echo '  install-home       - install with setup.py install --home=$$HOME ($(HOME))'
 	@echo '  tests              - run all tests in the automatic test suite'
-	@echo '  tests-%s           - run all tests in the specified hg version'
-	@echo '  all-version-tests  - run all tests against many hg versions'
 
 all: help
 
@@ -36,17 +34,7 @@
 tests: _check_hgroot
 	cd tests && $(PYTHON) $(HGTESTS)/run-tests.py $(TESTFLAGS)
 
-# /!\ run outside of the compatibility branch output test will likely fails
-
 test-%: _check_hgroot
 	cd tests && $(PYTHON) $(HGTESTS)/run-tests.py $(TESTFLAGS) $@
 
-tests-%: _check_hgroot
-	hg -R $(HGROOT) checkout $$(echo $@ | sed s/tests-//) && \
-	(cd $(HGROOT) ; $(MAKE) clean ) && \
-	cd tests && $(PYTHON) $(HGTESTS)/run-tests.py $(TESTFLAGS)
-
-# build a script to extract declared version
-all-version-tests: tests-@
-
 .PHONY: tests all-version-tests