Bug #77609 [Com]: Tests from mailparse extension fails
| From: | remi@php.net | Date: | Thu, 21 Mar 2019 13:39:12 +0000 |
| Subject: | Bug #77609 [Com]: Tests from mailparse extension fails | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-220113@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=77609&edit=1
ID: 77609
Comment by: remi@php.net
Reported by: ralf dot habacker at freenet dot de
Summary: Tests from mailparse extension fails
Status: Closed
Type: Bug
Package: *Mail Related
Operating System: linux
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
The proper way to loaded shared dependent extension is to use the --EXTENSIONS-- section in phpt
files.
Ok, this have some issues with load order, especially when PHP is built with RTLD_NOW (common option
on Linux distribution)
So another working way is to define TEST_PHP_ARGS in the environment before running the test suite
Example:
export TEST_PHP_EXECUTABLE=$(which php)
export TEST_PHP_ARGS="-n -d extension=mbstring.so -d extension=modules/mailparse.so"
php run-tests.php --show-diff
So I think it is better to keep current situation, and don't try to fix a not real issue.
Previous Comments:
------------------------------------------------------------------------
[2019-03-20 15:12:05] cmb@php.net
Automatic comment on behalf of cmbecker69@gmx.de
Revision: http://git.php.net/?p=php-src.git;a=commit;h=5b7a781a5d49854d9e3abf7944b478d0d98d6c5e
Log: Revert "Fix #77609: Tests from mailparse extension fails"
------------------------------------------------------------------------
[2019-03-20 11:22:02] remi@php.net
Automatic comment on behalf of remi
Revision: http://git.php.net/?p=php-src.git;a=commit;h=eb279fdb16405acc55ac9376b2dc109e1eda865c
Log: Revert "Fix #77609: Tests from mailparse extension fails"
------------------------------------------------------------------------
[2019-03-20 10:56:21] remi@php.net
Automatic comment on behalf of remi
Revision: http://git.php.net/?p=php-src.git;a=commit;h=32e7b0864ca1e5094ecea73641c4dc87bcdaa684
Log: Revert "Fix #77609: Tests from mailparse extension fails"
------------------------------------------------------------------------
[2019-03-20 08:52:10] remi@php.net
re-opened as current fix breaks everything.
See comment on https://github.com/php/php-src/commit/3ead67239419632eecb83f0f101ead2021ee6c14
------------------------------------------------------------------------
[2019-03-01 21:46:14] petk@php.net
Automatic comment on behalf of ralf.habacker@freenet.de
Revision: http://git.php.net/?p=php-src.git;a=commit;h=3ead67239419632eecb83f0f101ead2021ee6c14
Log: Fix #77609: Tests from mailparse extension fails
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=77609
--
Edit this bug report at https://bugs.php.net/bug.php?id=77609&edit=1