odd bug in run-tests.php
| From: | Gregory Beaver | Date: | Mon, 14 Jan 2008 03:11:10 +0000 |
| Subject: | odd bug in run-tests.php | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-34774@lists.php.net to get a copy of this message | ||
Hi all,
I don't have time to fix this now, but FYI, run-tests.php has very odd
behavior if you don't put a space between a switch and its argument, and
should error out. i.e.
php run-tests.php -n -dextension_dir=blah -dextension=blah.so
will ignore every other line. This:
php run-tests.php -n -d extension_dir=blah -d extension=blah.so
works as expected.
I wasted about 4 hours rebuilding PHP yesterday (thinking this was the
problem) because of this bug, so it would be a good one to kill for
future poor people who are stupid like me.
Thanks,
Greg