From 1d854ce731c03b8c717aa6b78185864611d5af50 Mon Sep 17 00:00:00 2001 From: Max Semenik Date: Mon, 14 Nov 2011 16:53:50 +0000 Subject: [PATCH] find on Windows is incompatible with *nix --- tests/phpunit/StructureTest.php | 3 +++ 1 file changed, 3 insertions(+) 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', -- 2.20.1