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;

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to