tests/quicktester.inc
| From: | Roman Neuhauser | Date: | Tue, 16 Apr 2002 13:04:28 +0000 |
| Subject: | tests/quicktester.inc | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-5142@lists.php.net to get a copy of this message | ||
Hi there.
quite an amount of tests is broken right now
(ext/standard/tests/strings/trim.phpt and wordwrap.phpt for example),
and they're the tests that include("tests/quicktester.inc") instead of
evaluating the results themselves. The reason is simple: TOP_SRCDIR is
not in include_path.
This (and other issues) could be solved by making the tests
use a slightly modified php.ini-dist which would be created (and deleted
again) by make test.
Easier solution would be to modify the include() calls to stick
$_ENV['TOP_SRCDIR'] in front of "tests/quicktester.inc". This however
doesn't solve other issues, like register_argc_argv = off in the
installed php.ini, which would have to be addressed separately...
Although, that would be easy enough.
Which one do you prefer?
--
FreeBSD 4.4-STABLE
1:40PM up 1 day, 2:53, 6 users, load averages: 0.34, 0.41, 0.55