From 368a5106fac549fd926f8b0bba253c03236516f5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Fri, 20 Jan 2006 22:50:47 +0000 Subject: [PATCH] * set_include_path() in case of a custom PHPTest install * Run ctype tests --- tests/RunTests.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/RunTests.php b/tests/RunTests.php index 020dba407e..4e6e64160d 100644 --- a/tests/RunTests.php +++ b/tests/RunTests.php @@ -8,6 +8,8 @@ if( php_sapi_name() != 'cli' ) { error_reporting( E_ALL ); define( "MEDIAWIKI", true ); +set_include_path( get_include_path() . PATH_SEPARATOR . 'PHPUnit' ); +set_include_path( get_include_path() . PATH_SEPARATOR . '..' ); require_once( 'PHPUnit.php' ); $testOptions = array( @@ -33,6 +35,7 @@ $tests = array( 'SearchMySQL4Test', 'ArticleTest', 'SanitizerTest', + 'CtypeTest' ); foreach( $tests as $test ) { require_once( $test . '.php' ); @@ -88,4 +91,4 @@ function &buildTestDatabase( $serverType, $tables ) { } } -?> \ No newline at end of file +?> -- 2.20.1