tony2001 Mon Dec 4 13:07:00 2006 UTC Modified files: /php-src run-tests.php Log: look for tests in sapi/cli http://cvs.php.net/viewvc.cgi/php-src/run-tests.php?r1=1.309&r2=1.310&diff_format=u Index: php-src/run-tests.php diff -u php-src/run-tests.php:1.309 php-src/run-tests.php:1.310 --- php-src/run-tests.php:1.309 Thu Nov 23 20:06:02 2006 +++ php-src/run-tests.php Mon Dec 4 13:07:00 2006 @@ -23,7 +23,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: run-tests.php,v 1.309 2006/11/23 20:06:02 tony2001 Exp $ */ +/* $Id: run-tests.php,v 1.310 2006/12/04 13:07:00 tony2001 Exp $ */ /* Sanity check to ensure that pcre extension needed by this script is available. * In the event it is not, print a nice error message indicating that this script will @@ -400,7 +400,7 @@ $html_output = is_resource($html_file); break; case '--version': - echo '$Revision: 1.309 $'."\n"; + echo '$Revision: 1.310 $'."\n"; exit(1); default: echo "Illegal switch specified!\n"; @@ -537,7 +537,7 @@ $ignored_by_ext = 0; sort($exts_to_test); $test_dirs = array(); -$optionals = array('tests', 'ext', 'Zend', 'ZendEngine2'); +$optionals = array('tests', 'ext', 'Zend', 'ZendEngine2', 'sapi/cli'); foreach($optionals as $dir) { if (@filetype($dir) == 'dir') { $test_dirs[] = $dir;
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php