Add a real fetchFile() method.
[lhc/web/wiklou.git] / tests / Makefile
index d980c9c..25ccda3 100644 (file)
@@ -1,6 +1,19 @@
 .PHONY: help test
+all test:
+       php run-test.php ArticleTest.php
+       php run-test.php GlobalTest.php
+       php run-test.php DatabaseTest.php
+       php run-test.php ImageFunctionsTest.php
+       php run-test.php SearchMySQL4Test.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:
-       # Run 'make test' to run the unit tests.
-
-test:
-       php RunTests.php
+       # Options:
+       #       test (default)          Run the unit tests
+       #       install                 Install PHPUnit from CVS
+       #       clean                   Remove local PHPUnit install
+       #       help                    You're looking at it!