From: Max Semenik Date: Mon, 14 Nov 2011 16:53:50 +0000 (+0000) Subject: find on Windows is incompatible with *nix X-Git-Tag: 1.31.0-rc.0~26513 X-Git-Url: http://git.cyclocoop.org/data/%24oldEdit?a=commitdiff_plain;h=1d854ce731c03b8c717aa6b78185864611d5af50;p=lhc%2Fweb%2Fwiklou.git find on Windows is incompatible with *nix --- diff --git a/tests/phpunit/StructureTest.php b/tests/phpunit/StructureTest.php index eb16360fbe..f967c18d09 100644 --- a/tests/phpunit/StructureTest.php +++ b/tests/phpunit/StructureTest.php @@ -10,6 +10,9 @@ class StructureTest extends MediaWikiTestCase { * Test. If the file names do not end in Test, they will not be run. */ public function testUnitTestFileNamesEndWithTest() { + if ( wfIsWindows() ) { + $this->markTestSkipped( 'This test does not work on Windows' ); + } $rootPath = escapeshellarg( __DIR__ ); $testClassRegex = implode( '|', array( 'ApiFormatTestBase',