# HG changeset patch # User Kevin Bullock # Date 1502134842 14400 # Node ID c96bf9e61598c6e9ed26f726bae24ac7bcc404f1 # Parent fddb62eaf21774d0e0c80df85d5f437ffc8ac3bb tests: run doctests when testing against particular hg versions diff -r fddb62eaf217 -r c96bf9e61598 Makefile --- a/Makefile Sun Aug 06 09:51:47 2017 -0500 +++ b/Makefile Mon Aug 07 15:40:42 2017 -0400 @@ -19,7 +19,8 @@ tests-%: @echo "Path to crew repo is $(CREW) - set this with CREW= if needed." hg -R $(CREW) checkout $$(echo $@ | sed s/tests-//) && \ - (cd $(CREW) ; $(MAKE) clean ) && \ + (cd $(CREW) ; $(MAKE) clean local) && \ + PYTHONPATH=$(CREW) $(PYTHON) -m doctest hggit/*.py contrib/*.py && \ cd tests && $(PYTHON) $(CREW)/tests/run-tests.py $(TESTFLAGS) # This is intended to be the authoritative list of Hg versions that this