ID: 42604
Updated by: [EMAIL PROTECTED]
Reported By: list at jth dot net
-Status: Open
+Status: Assigned
Bug Type: Compile Failure
Operating System: Linux Fedora 64 bit
PHP Version: 5.2.4
-Assigned To:
+Assigned To: jani
New Comment:
I knew this would happen. :)
Edge-case, but I'll see if I can come up with some hack for this.
Previous Comments:
------------------------------------------------------------------------
[2007-09-09 17:51:53] 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]
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=42604&edit=1