Re: run-tests.php is broken
| From: | Sander Roobol | Date: | Sun, 01 Sep 2002 12:32:44 +0000 |
| Subject: | Re: run-tests.php is broken | ||
| References: | 1 2 3 4 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-5908@lists.php.net to get a copy of this message | ||
run-tests.php was never supposed to be run directly.
./run-tests.php doesn't have a hashbang line and it never had.
Sander
On Sun, Sep 01, 2002 at 09:09:44PM +0900, Yasuo Ohgaki wrote:
> Forgot to mention this.
>
> Running test script is not used during release process,
> but also during development.
>
> Changing behavior/usage of test scripts should be announced
> to php-dev. Otherwise, most developers will stop using it.
> (Well most of us are not using it now, though)
>
> --
> Yasuo Ohgaki
>
> Yasuo Ohgaki wrote:
> >Sander Roobol wrote:
> >
> >>No it's not. Use e.g.
> >>TEST_PHP_EXECUTABLE=./sapi/cli/php ./sapi/cli/php -c ./php.ini-dist
> >>run-tests.php ext/pgsql/tests/*.phpt
> >>
> >>Yeah, that sucks. I know. Feel free to improve :)
> >>
> >>Also, README.TESTING is a bit outdated - again, feel free to fix it :)
> >>
> >
> >I know the env var and it's not the point.
> >It is _broken_ since it won't work as it supposed to do ;)
> >
> >I expect person who broke it fix it :)
> >
> >--
> >Yasuo Ohgaki
> >
> >
> >>Sander
> >>
> >>
> >>On Sun, Sep 01, 2002 at 09:44:56AM +0900, Yasuo Ohgaki wrote:
> >>
> >>>Due to some changes made run-tests.php is broken. (both 4.2.0 and HEAD)
> >>>
> >>>[yohgaki@dev DEV]$ ./run-tests.php ext/pgsql
> >>>./run-tests.php: ?php:
> >>>./run-tests.php: /bin: is a directory
> >>>./run-tests.php:
> >>>+----------------------------------------------------------------------+:
> >>>command not found
> >>>./run-tests.php: line 4: syntax error near unexpected token `|'
> >>>./run-tests.php: line 4: ` | PHP Version 4
> >>> |'
> >>>
> >>>
> >>>Read README.TESTING before changing script...
> >>>
> >>>--
> >>>Yasuo Ohgaki
> >>>
> >>>
> >>>--
> >>>PHP Quality Assurance Mailing List
> >>><http://www.php.net/>
> >>>To unsubscribe, visit: http://www.php.net/unsub.php
> >>>
> >>>
> >>
> >>
> >>
> >
> >
> >
>
>
>
> --
> PHP Quality Assurance Mailing List <http://www.php.net/>
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>