From 8f416baead93a48e5799e44b8bd2e2c4859f4e04 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Fri, 14 Sep 2007 13:18:58 +0200 Subject: auf Version 1.11 aktualisiert; Login-Bug behoben --- Makefile | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b659cad2..b9d5b1cf 100644 --- a/Makefile +++ b/Makefile @@ -2,8 +2,24 @@ # 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: Test.php - prove -r t + $(PROVE_BIN) $(ALL_TESTS) + +fast: Test.php + $(PROVE_BIN) $(FAST_TESTS) -verbose: - prove -v -r t | egrep -v '^ok' +verbose: Test.php + $(PROVE_BIN) -v $(ALL_TESTS) | egrep -v '^ok' -- cgit v1.2.2