blob: b414ffa349002e2e821a48d44caaebd5d9c9085f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#
# This Makefile is used to test some MediaWiki functions. If you
# want to install MediaWiki, point your browser to ./config/
#
# Configuration:
PROVE_BIN="prove"
# Describe our tests:
BASE_TEST=$(wildcard t/*.t)
INCLUDES_TESTS=$(wildcard t/inc/*t)
MAINTENANCE_TESTS=$(wildcard t/maint/*t)
# Build groups:
FAST_TESTS=$(BASE_TEST) $(INCLUDES_TESTS)
ALL_TESTS=$(BASE_TEST) $(INCLUDES_TESTS) $(MAINTENANCE_TESTS)
test: t/Test.php
$(PROVE_BIN) $(ALL_TESTS)
fast: t/Test.php
$(PROVE_BIN) $(FAST_TESTS)
maint:
$(PROVE_BIN) $(MAINTENANCE_TESTS)
verbose: t/Test.php
$(PROVE_BIN) -v $(ALL_TESTS) | egrep -v '^ok'
|