* Added options to install phpunit for the lazy
authorÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Fri, 20 Jan 2006 22:49:07 +0000 (22:49 +0000)
committerÆvar Arnfjörð Bjarmason <avar@users.mediawiki.org>
Fri, 20 Jan 2006 22:49:07 +0000 (22:49 +0000)
tests/Makefile

index d980c9c..0a64992 100644 (file)
@@ -1,6 +1,15 @@
 .PHONY: help test
-help:
-       # Run 'make test' to run the unit tests.
-
-test:
+all test:
        php RunTests.php
+install:
+       cvs -z9 -d:pserver:cvsread:@cvs.php.net:/repository/ co -P pear/PHPUnit
+       mv pear/PHPUnit .
+       rm -rf pear
+clean:
+       rm -rf PHPUnit pear
+help:
+       # Options:
+       #       test (default)          Run the unit tests
+       #       install                 Install PHPUnit from CVS
+       #       clean                   Remove local PHPUnit install
+       #       help                    You're looking at it!