From 5e0039adb71ab596a6af5de1ea23b3acf05495f8 Mon Sep 17 00:00:00 2001 From: Priyanka Dhanda Date: Fri, 18 Jun 2010 23:07:25 +0000 Subject: [PATCH] Test commit. No Changes. --- maintenance/tests/RunSeleniumTests.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ); } + -- 2.20.1