Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.9.4

Bug #13943 tests fail when php.exe path contains spaces
Submitted: 2008-05-19 15:08 UTC Modified: 2008-06-14 07:07 UTC
From: jorrit Assigned: dufuz
Status: Closed Package: PEAR (version CVS)
PHP Version: 5.2.4 OS: Windows
Roadmaps: 1.8.0alpha1    

 [2008-05-19 15:08 UTC] jorrit (Jorrit Schippers)
Description: ------------ When php.exe is for instance located in c:\program files\php\ running pear run-tests -u on a package or a cvs checkout fails silently. This is because when a command is run on Windows, it actually is a call to cmd.exe with the command as a parameter. The solution is to wrap the complete command line in quotes, as demonstrated in the attached path Test script: --------------- cvs co Net_FTP cd Net_FTP pear run-tests -ru Expected result: ---------------- Running 1 tests PHPUnit 3.2.19 by Sebastian Bergmann. ............ Time: 14 seconds OK (12 tests) TOTAL TIME: 00:24 1 PASSED TESTS 0 SKIPPED TESTS Actual result: -------------- Running 1 tests TOTAL TIME: 00:00 1 PASSED TESTS 0 SKIPPED TESTS


 [2008-06-14 07:07 UTC] dufuz (Helgi Þormar Þorbjörnsson)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on by the end of next Sunday (CET). If this was a problem with the website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better. phpt and phpunit tests fail - this is fixed in PHP 5.3 patch had to be altered a bit for that reason.