From: Platonides Date: Sat, 9 Oct 2010 18:15:37 +0000 (+0000) Subject: Readd after r72566 a phpunit.php so that globals are kept global. X-Git-Tag: 1.31.0-rc.0~34567 X-Git-Url: http://git.cyclocoop.org/%24self?a=commitdiff_plain;h=17e963569c479ef12167106f2cdd80fb96bdf7d2;p=lhc%2Fweb%2Fwiklou.git Readd after r72566 a phpunit.php so that globals are kept global. --- diff --git a/maintenance/tests/phpunit/Makefile b/maintenance/tests/phpunit/Makefile index d57ee5d3c1..0784c4ac45 100644 --- a/maintenance/tests/phpunit/Makefile +++ b/maintenance/tests/phpunit/Makefile @@ -3,7 +3,7 @@ SHELL = /bin/sh CONFIG_FILE = $(shell pwd)/suite.xml FLAGS = -PU = phpunit --configuration ${CONFIG_FILE} +PU = php phpunit.php --configuration ${CONFIG_FILE} all test: warning diff --git a/maintenance/tests/phpunit/bootstrap.php b/maintenance/tests/phpunit/bootstrap.php index c278af130f..e348b2c13f 100644 --- a/maintenance/tests/phpunit/bootstrap.php +++ b/maintenance/tests/phpunit/bootstrap.php @@ -1,31 +1,18 @@ -" ) ) { @@ -74,3 +61,4 @@ abstract class MediaWikiTestSetup extends PHPUnit_Framework_TestCase { } } } + diff --git a/maintenance/tests/phpunit/phpunit.php b/maintenance/tests/phpunit/phpunit.php new file mode 100755 index 0000000000..6fde6112ea --- /dev/null +++ b/maintenance/tests/phpunit/phpunit.php @@ -0,0 +1,27 @@ +#!/usr/bin/env php +