comparison Makefile @ 1839:1bc5e62fc0c7

Initial dumb version of topics.
author Augie Fackler <augie@google.com>
date Wed, 20 May 2015 21:23:28 -0400
parents
children bd5c2922a8ad
comparison
equal deleted inserted replaced
-1:000000000000 1839:1bc5e62fc0c7
1 PYTHON=python
2
3 help:
4 @echo 'Commonly used make targets:'
5 @echo ' tests - run all tests in the automatic test suite'
6 @echo ' all-version-tests - run all tests against many hg versions'
7 @echo ' tests-%s - run all tests in the specified hg version'
8
9 all: help
10
11 tests:
12 cd tests && $(PYTHON) run-tests.py --with-hg=`which hg` $(TESTFLAGS)
13
14 test-%:
15 cd tests && $(PYTHON) run-tests.py --with-hg=`which hg` $(TESTFLAGS) $@
16
17 tests-%:
18 @echo "Path to crew repo is $(CREW) - set this with CREW= if needed."
19 hg -R $(CREW) checkout $$(echo $@ | sed s/tests-//) && \
20 (cd $(CREW) ; $(MAKE) clean ) && \
21 cd tests && $(PYTHON) $(CREW)/tests/run-tests.py $(TESTFLAGS)
22
23 all-version-tests: tests-tip
24
25 .PHONY: tests all-version-tests