MDL-43461 testing: Avoid switching to .bat files when running MinGW
MinGW can not execute .bat files (http://sourceforge.net/p/mingw/bugs/1902) so we should not switch to .bat files when running MinGW.
This commit is contained in:
@@ -108,7 +108,9 @@ class Hint_ResultPrinter extends PHPUnit_TextUI_ResultPrinter {
|
||||
$executable = 'phpunit';
|
||||
if (testing_is_cygwin()) {
|
||||
$file = str_replace('\\', '/', $file);
|
||||
$executable = 'phpunit.bat';
|
||||
if (!testing_is_mingw()) {
|
||||
$executable = 'phpunit.bat';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user