php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
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
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: list at jth dot net Assigned: jani
Status: Closed Package: Compile Failure
PHP Version: 5.2.6 OS: Linux Fedora 64 bit
Private report: No CVE-ID:
 [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

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-08-13 01:03 UTC] jani@php.net
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.


 
PHP Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Wed Apr 23 14:02:33 2014 UTC