Mercurial > hg-git
annotate Makefile @ 48:b9c6871c939e
Fix single test running.
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Tue, 28 Apr 2009 12:13:16 -0700 |
parents | 50a0d52ef979 |
children | 428c819f3135 |
rev | line source |
---|---|
34
50a0d52ef979
Makefile to ease running of tests.
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
1 PYTHON=python |
50a0d52ef979
Makefile to ease running of tests.
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
2 |
50a0d52ef979
Makefile to ease running of tests.
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
3 help: |
50a0d52ef979
Makefile to ease running of tests.
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
4 @echo 'Commonly used make targets:' |
50a0d52ef979
Makefile to ease running of tests.
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
5 @echo ' tests - run all tests in the automatic test suite' |
50a0d52ef979
Makefile to ease running of tests.
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
6 |
50a0d52ef979
Makefile to ease running of tests.
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
7 all: tests |
50a0d52ef979
Makefile to ease running of tests.
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
8 |
50a0d52ef979
Makefile to ease running of tests.
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
9 tests: |
50a0d52ef979
Makefile to ease running of tests.
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
10 cd tests && $(PYTHON) run-tests.py --with-hg=`which hg` $(TESTFLAGS) |
50a0d52ef979
Makefile to ease running of tests.
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
11 |
50a0d52ef979
Makefile to ease running of tests.
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
12 test-%: |
48 | 13 cd tests && $(PYTHON) run-tests.py --with-hg=`which hg` $(TESTFLAGS) $@ |
34
50a0d52ef979
Makefile to ease running of tests.
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
14 .PHONY: help all local build doc clean install install-bin install-doc \ |
50a0d52ef979
Makefile to ease running of tests.
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
15 install-home install-home-bin install-home-doc dist dist-notests tests \ |
50a0d52ef979
Makefile to ease running of tests.
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
16 update-pot |