Re: 4.0.2 Release date
| From: | Shane Caraveo | Date: | Sat, 12 Aug 2000 15:23:44 +0000 |
| Subject: | Re: 4.0.2 Release date | ||
| References: | 1 | Groups: | php.dev php.qa |
| Request: | Send a blank email to php-dev+get-28694@lists.php.net to get a copy of this message | ||
Hmm, I think in the old 3.1 tree, I had an ISAPI wrapper that let me run
the isapi module from command line (or as CGI). This could be modified
slightly into a test program to run multiple threads. You could feed it
multiple test scripts and just let it run.
Shane
Rasmus Lerdorf wrote:
>
> > Yes, either you try to emulate the CGI environment setting the necessary
> > enviroment variables or you still have to run PHP as Web server module.
> > The first option may be enough and easier to integrate with what you have
> > now.
>
> That's exactly what the PHP 2 and 3 regression testing system did. See
> test/testphp.awk in the php3 tree. It actually worked pretty well and the
> test file format was simple:
>
> --TEST--
> Assign a[0], a[1], a[2] elements and print result ...
> --POST--
> --GET--
> --FILE--
> <?php
> $a[0]="a";
> $a[1]="b";
> $a[2]="c";
>
> echo "a[0]: $a[0]\n";
> echo "a[1]: $a[1]\n";
> echo "a[2]: $a[2]\n";
> ?>
> --EXPECT--
>
> a[0]: a
> a[1]: b
> a[2]: c
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net