find on Windows is incompatible with *nix
authorMax Semenik <maxsem@users.mediawiki.org>
Mon, 14 Nov 2011 16:53:50 +0000 (16:53 +0000)
committerMax Semenik <maxsem@users.mediawiki.org>
Mon, 14 Nov 2011 16:53:50 +0000 (16:53 +0000)
tests/phpunit/StructureTest.php

index eb16360..f967c18 100644 (file)
@@ -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',