changeset 34:50a0d52ef979

Makefile to ease running of tests.
author Augie Fackler <durin42@gmail.com>
date Tue, 28 Apr 2009 11:25:53 -0700
parents a3f976174d5f
children c13c5f8e03fd
files Makefile
diffstat 1 files changed, 16 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
new file mode 100644
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,16 @@
+PYTHON=python
+
+help:
+	@echo 'Commonly used make targets:'
+	@echo '  tests        - run all tests in the automatic test suite'
+
+all: tests
+
+tests:
+	cd tests && $(PYTHON) run-tests.py --with-hg=`which hg` $(TESTFLAGS)
+
+test-%:
+	cd tests && $(PYTHON) run-tests.py $(TESTFLAGS) $@
+.PHONY: help all local build doc clean install install-bin install-doc \
+	install-home install-home-bin install-home-doc dist dist-notests tests \
+	update-pot