If the page doesn't exist and the user can't create it, omit the "edit"/"view source"
[mediawiki.git] / Makefile
blobb9d5b1cfadbd86a679bc463ad619ea408e82868d
2 # This Makefile is used to test some MediaWiki functions. If you
3 # want to install MediaWiki, point your browser to ./config/
6 # Configuration:
7 PROVE_BIN="prove"
9 # Describe our tests:
10 BASE_TEST=$(wildcard t/*.t)
11 INCLUDES_TESTS=$(wildcard t/inc/*t)
12 MAINTENANCE_TESTS=$(wildcard t/maint/*t)
14 # Build groups:
15 FAST_TESTS=$(BASE_TEST) $(INCLUDES_TESTS)
16 ALL_TESTS=$(BASE_TEST) $(INCLUDES_TESTS) $(MAINTENANCE_TESTS)
18 test: Test.php
19 $(PROVE_BIN) $(ALL_TESTS)
21 fast: Test.php
22 $(PROVE_BIN) $(FAST_TESTS)
24 verbose: Test.php
25 $(PROVE_BIN) -v $(ALL_TESTS) | egrep -v '^ok'