# HG changeset patch
# User Augie Fackler <durin42@gmail.com>
# Date 1240943153 25200
#      Tue Apr 28 11:25:53 2009 -0700
# Node ID 50a0d52ef97935d9ca05ba7b8cc3c370c9be22fd
# Parent  a3f976174d5fa6a1f97d827d3c8656cb9cdce00b
Makefile to ease running of tests.

diff --git a/Makefile b/Makefile
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