Re: run-tests.php is broken
| From: | Sander Roobol | Date: | Mon, 02 Sep 2002 15:26:56 +0000 |
| Subject: | Re: run-tests.php is broken | ||
| References: | 1 2 3 4 5 6 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-5912@lists.php.net to get a copy of this message | ||
On Mon, Sep 02, 2002 at 06:31:00AM +0900, Yasuo Ohgaki wrote:
> Sander Roobol wrote:
> >run-tests.php was never supposed to be run directly.
> >./run-tests.php doesn't have a hashbang line and it never had.
> >
>
> No. It is supposed to be run directly.
> Therefore, it is broken.
Check http://cvs.php.net/cvs.php/php4/run-tests.php
I don't find any version there that begins with a hasbang line...
README.TESTING also doesn't say you can run it directly...
Why do you think it's supposed to?
Sander
>
> --
> Yasuo Ohgaki
>
>
> >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
> >>
> >>
> >
> >
> >
>
>
>
>
> --
> PHP Quality Assurance Mailing List <http://www.php.net/>
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>