"make test" fails with --with-config-file-scan-dir=/some/path
| Bug #42604 | "make test" fails with --with-config-file-scan-dir=/some/path | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Submitted: | 2007-09-09 17:51 UTC | Modified: | 2008-08-13 01:03 UTC |
|
||||||||||
| From: | list at jth dot net | Assigned: | jani (profile) | |||||||||||
| Status: | Closed | Package: | Compile Failure | |||||||||||
| PHP Version: | 5.2.6 | OS: | Linux Fedora 64 bit | |||||||||||
| Private report: | No | CVE-ID: | None | |||||||||||
[2007-09-09 17:51 UTC] list at jth dot net
Description:
------------
The new feature of adding $(PHP_TEST_SHARED_EXTENSIONS) breaks "make test", when upgrading from an existing installation (in this case 5.2.3), where all the ini-files contain the modules included.
In Makefile:
CC="$(CC)" \
$(top_builddir)/$(SAPI_CLI_PATH) $(PHP_TEST_SETTINGS) $(top_srcdir)/run-tests.php -c $(top_builddir)/tmp-php.ini -U -d extension_dir=$(top_builddir)/modules/ $(PHP_TEST_SHARED_EXTENSIONS) $(TESTS); \
Reproduce code:
---------------
make test
Expected result:
----------------
No 'already loaded' messages and PASSed tests
Actual result:
--------------
Extract:
......
Warning: Module 'xsl' already loaded in Unknown on line 0
Warning: Module 'zip' already loaded in Unknown on line 0
=====================================================================
CWD : /usr/src/other/php/php-5.2.4
PHP : /usr/src/other/php/php-5.2.4/sapi/cli/php
PHP_SAPI : cli
PHP_VERSION : 5.2.4
ZEND_VERSION: 2.2.0
PHP_OS : Linux - Linux vennely.jth.net 2.6.20-1-2933-FC6j #1 SMP Sun Mar 25 01:54:58 CET 2007 x86_64
INI actual : /usr/src/other/php/php-5.2.4/tmp-php.ini
More .INIs : /etc/php.d/bcmath.ini,/etc/php.d/dba.ini,/etc/php.d/dom.ini,/etc/php.d/ftp.ini,/etc/php.d/gd.ini,/etc/php.d/imap.ini,/etc/php.d/ldap.ini,/etc/php.d/mbstring.ini,/etc/php.d/mysql.ini,/etc/php.d/mysqli.ini,/etc/php.d/ncurses.ini,/etc/php.d/soap.ini,/etc/php.d/xmlreader.ini,/etc/php.d/xmlrpc.ini,/etc/php.d/xmlwriter.ini,/etc/php.d/xsl.ini,/etc/php.d/zip.ini
Extra dirs :
=====================================================================
TIME START 2007-09-09 19:48:23
=====================================================================
FAIL EXPECT [tests/run-test/test001.phpt]
FAIL EXPECTF [tests/run-test/test002.phpt]
FAIL EXPECTREGEX [tests/run-test/test003.phpt]
FAIL INI section allows '=' [tests/run-test/test004.phpt]
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2008-08-13 01:03 UTC] jani@php.net