From: Priyanka Dhanda Date: Fri, 18 Jun 2010 23:07:25 +0000 (+0000) Subject: Test commit. No Changes. X-Git-Tag: 1.31.0-rc.0~36467 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=5e0039adb71ab596a6af5de1ea23b3acf05495f8;p=lhc%2Fweb%2Fwiklou.git Test commit. No Changes. --- diff --git a/maintenance/tests/RunSeleniumTests.php b/maintenance/tests/RunSeleniumTests.php index e6299cbb8e..d7751c5548 100644 --- a/maintenance/tests/RunSeleniumTests.php +++ b/maintenance/tests/RunSeleniumTests.php @@ -33,7 +33,7 @@ if ( file_exists( 'selenium/LocalSeleniumSettings.php' ) ) { die( -1 ); } -// Command line only +// Command line only if ( $wgSeleniumTestsRunMode == 'cli' && php_sapi_name() != 'cli' ) { echo "Must be run from the command line.\n"; die( -1 ); @@ -97,3 +97,4 @@ if ( is_array( $wgSeleniumTestIncludes ) ) { foreach ( $wgSeleniumTestSuites as $suite ) { $suite->run( $result ); } +