# HG changeset patch # User Anton Shestakov # Date 1594123800 -28800 # Node ID 5be8fb87ef28c75af2f444c6fae9403ea15dcdb4 # Parent 18a6f5ffab1b15740848e44c86a7b79a6230a1d8 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. diff -r 18a6f5ffab1b -r 5be8fb87ef28 Makefile --- 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