Open nurujjamanpollob opened 1 year ago
The DOM issue looks like a libxml2 bug, the encoding bit of that test is meant to check if the removal of the XML declaration isn't influenced by that. I guess I can adapt to use UTF-8 instead of BIG5 to work around the issue... I didn't have a look at the others.
@nielsdos OK let's see! I am going to test in another machine!
Thanks 😊
The commit 0fd226c also fixed the test ext/dom/tests/DOMDocument_saveXML_XML_SAVE_NO_DECL.phpt
on Alpinelinux
Hi, Running macOS 12.7.4 (latest Monterey atm) in a MBP 2015 (macbookpro11,5)
Compiling from source with the following options:
./configure --prefix=/usr/local --with-system-ciphers --with-freetype --enable-mbstring --with-bz2 --enable-soap --enable-calendar --with-curl --with-gmp --enable-gd --with-pgsql --with-zlib --enable-pcntl --with-kerberos --enable-exif --enable-bcmath --with-mhash --with-zip --with-mysqli --with-jpeg --enable-ftp --with-imap-ssl --with-gettext --with-xsl --enable-opcache --enable-intl --with-readline --disable-phar
All goes through until make test, where it fails:
=====================================================================
TIME END 2024-05-08 14:32:43
=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped : 28 (imap, dl_test, pspell, snmp, sysvshm, sockets, sysvmsg, sysvsem, dba, ldap, skeleton, phar, pdo_odbc, pdo_mysql, enchant, tidy, oci8, pdo_pgsql, ffi, odbc, zend_test, sodium, com_dotnet, shmop, openssl, pdo_dblib, pdo_oci, pdo_firebird)
Exts tested : 45
---------------------------------------------------------------------
Number of tests : 18777 15085
Tests skipped : 3692 ( 19.7%) --------
Tests warned : 0 ( 0.0%) ( 0.0%)
Tests failed : 1 ( 0.0%) ( 0.0%)
Expected fail : 10 ( 0.1%) ( 0.1%)
Tests passed : 15074 ( 80.3%) ( 99.9%)
---------------------------------------------------------------------
Time taken : 1299 seconds
=====================================================================
=====================================================================
EXPECTED FAILED TEST SUMMARY
---------------------------------------------------------------------
Test open_basedir configuration [tests/security/open_basedir_linkinfo.phpt] XFAIL REASON: BUG: open_basedir cannot delete symlink to prohibited file. See also
bugs 48111 and 52176.
Bug #47847 (importNode loses the namespace of an XML element) [ext/dom/tests/bug47847.phpt] XFAIL REASON: See https://github.com/php/php-src/pull/12308
Bug #55294 (DOMDocument::importNode shifts namespaces when "default" namespace exists) [ext/dom/tests/bug55294.phpt] XFAIL REASON: See https://github.com/php/php-src/pull/12308
Bug #42718 (unsafe_raw filter not applied when configured as default filter) [ext/filter/tests/bug42718.phpt] XFAIL REASON: FILTER_UNSAFE_RAW not applied when configured as default filter, even with flags
Bug #67296 (filter_input doesn't validate variables) [ext/filter/tests/bug49184.phpt] XFAIL REASON: See Bug #49184
Bug #67167: filter_var(null,FILTER_VALIDATE_BOOLEAN,FILTER_NULL_ON_FAILURE) returns null [ext/filter/tests/bug67167.02.phpt] XFAIL REASON: Requires php_zval_filter to not use convert_to_string for all filters.
datefmt_format_code() [ext/intl/tests/dateformat_format_variant3.phpt] XFAIL REASON: This test assumes wrong data wrt to PDT. It is also too big and needs splitting up.
Return type check elision [ext/opcache/tests/opt/verify_return_type.phpt] XFAIL REASON: Return types cannot be inferred through prototypes
via [ext/pdo_sqlite/tests/common.phpt]
SQLite PDO Common: PDOStatement::getColumnMeta [ext/pdo_sqlite/tests/pdo_022.phpt] XFAIL REASON: This feature is not yet finalized, no test makes sense
updateTimestamp never called when session data is empty [ext/session/tests/user_session_module/bug71162.phpt] XFAIL REASON: Current session module is designed to write empty session always. In addition, current session module only supports SessionHandlerInterface only from PHP 7.0.
=====================================================================
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
Bug #74090 stream_get_contents maxlength>-1 returns empty string on windows [ext/standard/tests/streams/bug74090.phpt]
=====================================================================
You may have found a problem in PHP.
This report can be saved and used to open an issue on the bug tracker at
https://github.com/php/php-src/issues
This gives us a better understanding of PHP's behavior.
Description
I am building PHP 8.3.0 beta 3 from the source on a macOS 16.5.1 machine running Apple M1 Pro Processor.
After finishing the build process, I have run
make TEST_PHP_ARGS=-j4 test
which ends with the following test errors:Thanks!
PHP Version
8.3.0 beta 3
Operating System
macOS 16.5.1