cvs: php-src / run-tests.php
| From: | Pierre-Alain Joye | Date: | Wed, 02 Jul 2008 12:46:48 +0000 |
| Subject: | cvs: php-src / run-tests.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-50748@lists.php.net to get a copy of this message | ||
pajoye Wed Jul 2 12:46:48 2008 UTC
Modified files:
/php-src run-tests.php
Log:
- fix make test TESTS=... and dynamic extension usage on windows
http://cvs.php.net/viewvc.cgi/php-src/run-tests.php?r1=1.357&r2=1.358&diff_format=u
Index: php-src/run-tests.php
diff -u php-src/run-tests.php:1.357 php-src/run-tests.php:1.358
--- php-src/run-tests.php:1.357 Thu Jun 12 21:59:25 2008
+++ php-src/run-tests.php Wed Jul 2 12:46:48 2008
@@ -24,7 +24,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: run-tests.php,v 1.357 2008/06/12 21:59:25 hnangelo Exp $ */
+/* $Id: run-tests.php,v 1.358 2008/07/02 12:46:48 pajoye 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
@@ -445,7 +445,7 @@
$html_output = is_resource($html_file);
break;
case '--version':
- echo '$Revision: 1.357 $' . "\n";
+ echo '$Revision: 1.358 $' . "\n";
exit(1);
default:
echo "Illegal switch '$switch' specified!\n";
@@ -544,7 +544,9 @@
}
}
- if (strlen($conf_passed)) {
+ if (substr(PHP_OS, 0, 3) != "WIN")) {
+ $pass_options .= " -c " . escapeshellarg($conf_passed);
+ } else {
$pass_options .= " -c '$conf_passed'";
}