Re: pear run-tests

From: Date: Thu, 29 Apr 2004 18:43:37 +0000
Subject: Re: pear run-tests
References: 1  Groups: php.pear.qa 
Request: Send a blank email to pear-qa+get-1185@lists.php.net to get a copy of this message
Hi,
Running tests in /usr/local/lib/php/tests/XML_Parser/tests ==========================================================
XML Parser: parse simple string (001.phpt)                           ... failed
XML Parser: parse from file (002.phpt)                               ... failed
XML Parser: parse from file resource (003.phpt)                      ... failed
XML Parser: error class (004.phpt)                                   ... failed
XML Parser: mixing character encodings (005.phpt)                    ... failed
I'm trying to reproduce this, but I have trouble running the tests... On my linux machine I get: ERROR: Cannot open file '/usr/share/php/run-test-info.php' (save_text) And on windows: C:\www\projects\pear\XML_Parser>pear run-tests Error in argument 1, char 2: option not found r Error in argument 1, char 2: option not found r =====================================================================
CWD         : C:\www\projects\pear\XML_Parser
PHP         : c:\php4/php.exe Content-type: text/html
X-Powered-By: PHP/4.3.4
PHP_SAPI    : cgi-fcgi
PHP_VERSION : 4.3.4 ZEND_VERSION: 1.3.0
PHP_OS      : WINNT - Windows NT GRACELAND 5.1 build 2600
INI actual : C:\WINDOWS\php.ini More .INIs : Extra dirs : ===================================================================== <br /> <table border='1' cellspacing='0'> <tr><td bgcolor='#ffbbbb' colspan="3"><b>Warning</b>: opendir(C:\www\projects\pear\XML_Parser/pear): failed to open dir: Invalid argument in <b>C:\php 4\pear\run-tests.php</b> on line <b>237</b><br /> <tr><th bgcolor='#aaaaaa' colspan='3'>Call Stack</th></tr> <tr><th bgcolor='#cccccc'>#</th><th bgcolor='#cccccc'>Function</th><th bgcolor='#cccccc'>Location</th></tr> <tr><td bgcolor='#ffffff' align='center'>1</td><td bgcolor='#ffffff'>{main}()</td><td bgcolor='#ffffff'>C:\php4\pear\run-tests.php<b>:</b>0</td></tr> <tr><td bgcolor='#ffffff' align='center'>2</td><td bgcolor='#ffffff'>find_files()</td><td bgcolor='#ffffff'>C:\php4\pear\run-tests.php<b>:</b>226</td> </tr> <tr><td bgcolor='#ffffff' align='center'>3</td><td bgcolor='#ffffff'><a href='http://www.php.net/opendir' target='_new'>opendir</a> ()</td><td bgcolor='#ffffff'>C:\php4\pear\run-tests.php<b>:</b>237</td></tr> </table> ERROR: cannot open directory: C:\www\projects\pear\XML_Parser/pear I ran the tests manually before the release and they have been working.... Stephan

« previous php.pear.qa (#1185) next »