#42604 [NEW]: New feature PHP_TEST_SHARED_EXTENSIONS makes testing fail when upgrading

From: Date: Sun, 09 Sep 2007 17:51:54 +0000
Subject: #42604 [NEW]: New feature PHP_TEST_SHARED_EXTENSIONS makes testing fail when upgrading
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-117335@lists.php.net to get a copy of this message
From: list at jth dot net Operating system: Linux Fedora 64 bit PHP version: 5.2.4 PHP Bug Type: Compile Failure Bug description: New feature PHP_TEST_SHARED_EXTENSIONS makes testing fail when upgrading 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 bug report at http://bugs.php.net/?id=42604&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=42604&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=42604&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=42604&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=42604&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=42604&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=42604&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=42604&r=needscript Try newer version: http://bugs.php.net/fix.php?id=42604&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=42604&r=support Expected behavior: http://bugs.php.net/fix.php?id=42604&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=42604&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=42604&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=42604&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=42604&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=42604&r=dst IIS Stability: http://bugs.php.net/fix.php?id=42604&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=42604&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=42604&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=42604&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=42604&r=mysqlcfg

« previous php.bugs (#117335) next »