make test fails if include_path does not contain '.'
| Bug #25635 | make test fails if include_path does not contain '.' | ||||
|---|---|---|---|---|---|
| Submitted: | 2003-09-23 10:56 UTC | Modified: | 2003-09-23 22:28 UTC | ||
| From: | doug at winweb dot net | Assigned: | iliaa (profile) | ||
| Status: | Closed | Package: | Compile Failure | ||
| PHP Version: | 4.3.3 | OS: | linux | ||
| Private report: | No | CVE-ID: | None | ||
[2003-09-23 10:56 UTC] doug at winweb dot net
Description: ------------ make test fails on a number of counts if a php.ini file already in use in /usr/local/lib/php.ini (or wherever the default one is) does not include . in the include_path. An example file that cannot be included is here: ext/standard/tests/aggregation/aggregate.lib A possible solution would perhaps be to add include_path=. to the $ini_overwrites array in run_tests.php, but that caused another test to fail: /usr/local/src/php-4.3.3/tests/func/007.phpt ini_restore() does not work. So 007.phpt would then need to set and restore a php.ini setting other than include_path. I first tried adding -d 'include_path=.' or -c ./php.ini-dist or -c $(top_srcdir)/php.ini-dist to line 58 of Makefile.global (or the equialent line in Makefile), but those changes seem to be ignored for some reason.
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2003-09-23 22:28 UTC] iliaa@php.net