Re: cvs: php-src(PHP_5_3) /ext/standard/tests/file popen_pclose_error-win32-debug.phpt popen_pclose_error-win32.phpt
| From: | Antony Dovgal | Date: | Sat, 16 Aug 2008 10:28:33 +0000 |
| Subject: | Re: cvs: php-src(PHP_5_3) /ext/standard/tests/file popen_pclose_error-win32-debug.phpt popen_pclose_error-win32.phpt | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-52410@lists.php.net to get a copy of this message | ||
There is something wrong with this SKIPIF section.
On 15.08.2008 23:01, Pierre-Alain Joye wrote:
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/file/popen_pclose_error-win32-debug.phpt?view=markup&rev=1.1 Index: php-src/ext/standard/tests/file/popen_pclose_error-win32-debug.phpt +++ php-src/ext/standard/tests/file/popen_pclose_error-win32-debug.phpt --TEST-- Test popen() and pclose function: error conditions --SKIPIF-- <?php if(substr(PHP_OS, 0, 3) != 'WIN' && PHP_DEBUG)) die("skip Not Valid for Linux");There is a parse error in this line (see "))"). Also I don't get why it's not valid only for debug builds. And btw Windows and Linux are not the only two systems we support.
if(!PHP_DEBUG) die("skip Not Valid for release builds"); if (!(strpos('MSVC9', $inf) || strpos('MSVC8', $inf))) die("skip Not Valid for build done with VC < 8");And this is the weirdest part of all. Where does this $inf come from? -- Wbr, Antony Dovgal