Fix for r65818.
[mediawiki.git] / maintenance / tests / Makefile
blobb2c0fb716135f2c73e9839eba2567dfe6451bc8f
1 # See
2 # http://lists.wikimedia.org/pipermail/wikitech-l/2010-February/046657.html
3 # for why prove(1) is the default target and not phpunit(1)
5 .PHONY: help test
6 all test: tap
8 tap:
9 prove -e 'phpunit --tap' *Test*.php
11 phpunit:
12 phpunit
14 install:
15 pear channel-discover pear.phpunit.de
16 pear install phpunit/PHPUnit
18 help:
19 # Options:
20 # test (default) Run the tests individually through Test::Harness's prove(1)
21 # phpunit Run all the tests with phpunit
22 # install Install PHPUnit from phpunit.de
23 # help You're looking at it!