13 Sep 2010 09:50
Problems with syntax check <at> vista/windows 7
Martin Eisengardt <MEP_Eisen <at> web.de>
2010-09-13 07:50:48 GMT
2010-09-13 07:50:48 GMT
Hi. I got some problems with vista and windows 7 (64 bit). PHPUnit: 3.4.15 Running phpunit.bat in my project directory as external tool from within eclipse. As soon as I activate syntax checking in my phpunit.xml it results in errors right before the tests are running. The syntax check itself fails. The problem is simple: PHPUnit_Util_PHP::getPhpBinary() returns quotes, f.e. "C:\php\php.exe" and those result in double quotes that windows do not understand. Changing line 135 in Fileloader.php to $command = trim(PHPUnit_Util_PHP::getPhpBinary(), "\""); fixed the problem for me. Maybe you could have a look at this problem and probvide a smarter fix. Ciao Martin
RSS Feed