Mercurial > evolve
view Makefile @ 1973:e97458bf53be
stack: introduce and explicite command to display the stack
If is worth testing having the feature lives outside 'hg topic --list'. The
'stack' name is sub optimal because the conflict with 'status'. using "hg st"
would still work as 'st' is hard coded, but this mean 'hg stack' has no short
version.
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Fri, 12 Aug 2016 11:09:26 +0200 |
parents | 9d1157fcdc6c |
children | 143c8e4dc22d |
line wrap: on
line source
PYTHON=python ifeq ($(HGROOT),) $(error HGROOT is not set to the root of the hg source tree) endif TESTFLAGS ?= $(shell echo $$HGTESTFLAGS) HGTESTS=$(HGROOT)/tests help: @echo 'Commonly used make targets:' @echo ' tests - run all tests in the automatic test suite' @echo ' all-version-tests - run all tests against many hg versions' @echo ' tests-%s - run all tests in the specified hg version' all: help tests: cd tests && $(PYTHON) $(HGTESTS)/run-tests.py $(TESTFLAGS) test-%: cd tests && $(PYTHON) $(HGTESTS)/run-tests.py $(TESTFLAGS) $@ tests-%: hg -R $(HGROOT) checkout $$(echo $@ | sed s/tests-//) && \ (cd $(HGROOT) ; $(MAKE) clean ) && \ cd tests && $(PYTHON) $(HGTESTS)/run-tests.py $(TESTFLAGS) all-version-tests: tests-3.7 tests-@ .PHONY: tests all-version-tests