cvs: php-src(PHP_5_2) / run-tests.php
| From: | Antony Dovgal | Date: | Mon, 04 Dec 2006 13:07:26 +0000 |
| Subject: | cvs: php-src(PHP_5_2) / run-tests.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-41867@lists.php.net to get a copy of this message | ||
tony2001 Mon Dec 4 13:07:26 2006 UTC
Modified files: (Branch: PHP_5_2)
/php-src run-tests.php
Log:
MFH: look for tests in sapi/cli
http://cvs.php.net/viewvc.cgi/php-src/run-tests.php?r1=1.226.2.37.2.17&r2=1.226.2.37.2.18&diff_format=u
Index: php-src/run-tests.php
diff -u php-src/run-tests.php:1.226.2.37.2.17 php-src/run-tests.php:1.226.2.37.2.18
--- php-src/run-tests.php:1.226.2.37.2.17 Thu Nov 23 20:06:10 2006
+++ php-src/run-tests.php Mon Dec 4 13:07:26 2006
@@ -23,7 +23,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: run-tests.php,v 1.226.2.37.2.17 2006/11/23 20:06:10 tony2001 Exp $ */
+/* $Id: run-tests.php,v 1.226.2.37.2.18 2006/12/04 13:07:26 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
@@ -397,7 +397,7 @@
$html_output = is_resource($html_file);
break;
case '--version':
- echo '$Revision: 1.226.2.37.2.17 $'."\n";
+ echo '$Revision: 1.226.2.37.2.18 $'."\n";
exit(1);
default:
echo "Illegal switch '$switch' specified!\n";
@@ -533,7 +533,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;