Re: Error in make Test
| From: | zoe | Date: | Sat, 18 Jul 2009 09:05:57 +0000 |
| Subject: | Re: Error in make Test | ||
| References: | 1 2 3 4 5 6 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-65220@lists.php.net to get a copy of this message | ||
Rafael Dohms wrote:
Zoe, Before i look deeper.. i'm running tests using: make test TESTS=[file] would that get me different behaviour then with the run-tests.php method? No, make just calls run-tests.php. Have a look in Makefile.global and you can see how it does it. I find it's more convenient to have a script called 'run53' in my ~/bin directory like this:#!/bin/sh export TEST_PHP_EXECUTABLE=/mnt/workspace/ws_php/php53/sapi/cli/php $TEST_PHP_EXECUTABLE /mnt/workspace/ws_php/php53/run-tests.php $* I have equivalent ones for 'run6' etc. If you are mainly running tests this is slightly easier than using make I think. Zoe
On Fri, Jul 17, 2009 at 6:16 PM, Rafael Dohms <listas@rafaeldohms.com.br <mailto:listas@rafaeldohms.com.br>> wrote:Zoe,I'll look it over during the weekend and try to isolate the problemOn Fri, Jul 17, 2009 at 6:05 PM, zoe <zoe.slattery@googlemail.com <mailto:zoe.slattery@googlemail.com>> wrote:Hi RafaelJust did... hanged for more then 10 mins... does not crash nor move on===================================================================== PHP : /Users/rdohms/Downloads/src/php-src-head/sapi/cli/php PHP_SAPI : cli PHP_VERSION : 6.0.0-dev ZEND_VERSION: 3.0.0-dev PHP_OS : Darwin - Darwin MacDohms.local 9.7.0 Darwin Kernel Version 9.7.0: Tue Mar 31 22:52:17 PDT 2009; root:xnu-1228.12.14~1/RELEASE_I386 i386 INI actual : /Users/rdohms/Downloads/src/php-src-head/tmp-php.ini More .INIs : CWD : /Users/rdohms/Downloads/src/php-src-head Extra dirs : VALGRIND : Not used ===================================================================== Running selected tests. TEST 1/1 [ext/gd/tests/imagecolorallocate_variation3.phpt]I executed the test itself ( php ext/gd/tests/imagecolorallocate_variation3.phpt ) and it executed just fine... must be something in the test suite runner I just tried on the system we have been using for TestFest and the test runs OK so I can't reproduce the problem. The system is 32 bit Linux and the PHP6 is built from a snap from earlier today.I guess that makes it Mac specific....hmm. Would be good to try and reproduce it with a smaller test case. Or, possibly put some debug in run-tests.php to see how far it's getting.Zoe-- PHP Quality Assurance Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php-- Rafael Dohms PHP Evangelist and Community Leader http://www.rafaeldohms.com.br http://www.phpsp.org.br-- Rafael Dohms PHP Evangelist and Community Leader http://www.rafaeldohms.com.br http://www.phpsp.org.br