cvs: php-src / run-tests.php
| From: | Ilia Alshanetsky | Date: | Mon, 06 Dec 2004 23:37:20 +0000 |
| Subject: | cvs: php-src / run-tests.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-29449@lists.php.net to get a copy of this message | ||
iliaa Mon Dec 6 18:37:20 2004 EDT
Modified files:
/php-src run-tests.php
Log:
Added -d option which allows ini options to be specified via command line.
Patch by: Sean Coates
http://cvs.php.net/diff.php/php-src/run-tests.php?r1=1.198&r2=1.199&ty=u
Index: php-src/run-tests.php
diff -u php-src/run-tests.php:1.198 php-src/run-tests.php:1.199
--- php-src/run-tests.php:1.198 Sun Nov 28 15:40:16 2004
+++ php-src/run-tests.php Mon Dec 6 18:37:20 2004
@@ -246,6 +246,9 @@
}
$pass_option_n = true;
break;
+ case 'd':
+ $ini_overwrites[] = $argv[++$i];
+ break;
default:
echo "Illegal switch specified!\n";
case "h":
@@ -269,6 +272,9 @@
-n Pass -n option to the php binary (Do not use a php.ini).
+ -d foo=bar Pass -d option to the php binary (Define INI entry foo
+ with value 'bar')
+
-h <file> This Help.
HELP;