https://www.mediawiki.org/wiki/Special:Code/MediaWiki/102991

Revision: 102991
Author:   maxsem
Date:     2011-11-14 16:53:50 +0000 (Mon, 14 Nov 2011)
Log Message:
-----------
find on Windows is incompatible with *nix

Modified Paths:
--------------
    trunk/phase3/tests/phpunit/StructureTest.php

Modified: trunk/phase3/tests/phpunit/StructureTest.php
===================================================================
--- trunk/phase3/tests/phpunit/StructureTest.php        2011-11-14 16:11:36 UTC 
(rev 102990)
+++ trunk/phase3/tests/phpunit/StructureTest.php        2011-11-14 16:53:50 UTC 
(rev 102991)
@@ -10,6 +10,9 @@
         * 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',


_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to