Re: PATCH: run-tests.php -l flag (local / non-recurisve)
| From: | Marcus Boerger | Date: | Fri, 20 Feb 2004 17:40:22 +0000 |
| Subject: | Re: PATCH: run-tests.php -l flag (local / non-recurisve) | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-8018@lists.php.net to get a copy of this message | ||
Hello Hartmut,
Friday, February 20, 2004, 12:49:32 PM, you wrote:
> Jan Lehnardt wrote:
>> TESTS=/path/test/dir make test or even TESTS=/path/to/test.phpt make test
>> works just fine, already.
> TESTS=/path/test/dir would still dive into /past/test/dir/subdir,
> wouldn't it?
>> There are plans to change run-tests.php so it accepts arguments instead
>> of environment variables, but nothing happened in this direction, yet.
> that's not really true, it's more like "nothing has been commited yet" ;)
well i did some of those commits...long ago...or did i miss anything??????
i'd simply use php run-tests.php <whateverfile-or-dir-you-want> ....
if you want local files only without recursion then you can use find but
that doesn't help on windows. Anyway i see no reason because at least until
now there is not a single one extension where this functionality would be of
any use because test directories do not have sub-test-dirs. And btw. for
example:
php run-tests.php ext/dba
is shorter than
php run-tests.php ext/dba/tests
but does the same because of the recursion
--
Best regards,
Marcus mailto:helly@php.net