Mercurial > hg > hg-git
comparison Makefile @ 1041:fddb62eaf217
tests: use $PYTHON to run doctests
author | Kevin Bullock <kbullock@ringworld.org> |
---|---|
date | Sun, 06 Aug 2017 09:51:47 -0500 |
parents | bafa4c3b7385 |
children | c96bf9e61598 |
comparison
equal
deleted
inserted
replaced
1040:bafa4c3b7385 | 1041:fddb62eaf217 |
---|---|
8 @echo ' tests-%s - run all tests in the specified hg version' | 8 @echo ' tests-%s - run all tests in the specified hg version' |
9 | 9 |
10 all: help | 10 all: help |
11 | 11 |
12 tests: | 12 tests: |
13 python -m doctest hggit/*.py contrib/*.py | 13 $(PYTHON) -m doctest hggit/*.py contrib/*.py |
14 cd tests && $(PYTHON) run-tests.py --with-hg=`which hg` $(TESTFLAGS) | 14 cd tests && $(PYTHON) run-tests.py --with-hg=`which hg` $(TESTFLAGS) |
15 | 15 |
16 test-%: | 16 test-%: |
17 cd tests && $(PYTHON) run-tests.py --with-hg=`which hg` $(TESTFLAGS) $@ | 17 cd tests && $(PYTHON) run-tests.py --with-hg=`which hg` $(TESTFLAGS) $@ |
18 | 18 |