#42604 [Asn->Csd]: "make test" fails with --with-config-file-scan-dir=/some/path

[email protected]
Newsgroups php.bugs
Message-ID <[email protected]>
 ID:               42604
 Updated by:       [email protected]
 Reported By:      list at jth dot net
-Status:           Assigned
+Status:           Closed
 Bug Type:         Compile Failure
 Operating System: Linux Fedora 64 bit
 PHP Version:      5.2.6
 Assigned To:      jani
 New Comment:

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.




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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.