Files
php8/build-test.sh
Arjen de Korte 285519dca3 - version update to 8.3.10
Core:
        Fixed bug GH-13922 (Fixed support for systems with sysconf(_SC_GETPW_R_SIZE_MAX) == -1).
        Fixed bug GH-14626 (Fix is_zend_ptr() for huge blocks).
        Fixed bug GH-14590 (Memory leak in FPM test gh13563-conf-bool-env.phpt.
        Fixed OSS-Fuzz #69765.
        Fixed bug GH-14741 (Segmentation fault in Zend/zend_types.h).
        Fixed bug GH-14969 (Use-after-free in property coercion with __toString()).
    Dom:
        Fixed bug GH-14702 (DOMDocument::xinclude() crash).
    Fileinfo:
        Fixed bug GH-14888 (README.REDIST.BINS refers to non-existing LICENSE).
    Gd:
        ext/gd/tests/gh10614.phpt: skip if no PNG support.
        restored warning instead of fata error.
    LibXML:
        Fixed bug GH-14563 (Build failure with libxml2 v2.13.0).
    Opcache:
        Fixed bug GH-14550 (No warning message when Zend DTrace is enabled that opcache.jit is implictly disabled).
    Output:
        Fixed bug GH-14808 (Unexpected null pointer in Zend/zend_string.h with empty output buffer).
    PDO:
        Fixed bug GH-14712 (Crash with PDORow access to null property).
    Phar:
        Fixed bug GH-14603 (null string from zip entry).
    PHPDBG:
        Fixed bug GH-14596 (crashes with ASAN and ZEND_RC_DEBUG=1).
        Fixed bug GH-14553 (echo output trimmed at NULL byte).
    Shmop:
        Fixed bug GH-14537 (shmop Windows 11 crashes the process).
    SPL:
        Fixed bug GH-14639 (Member access within null pointer in ext/spl/spl_observer.c).
    Standard:
        Fixed bug GH-14775 (range function overflow with negative step argument).
        Fix 32-bit wordwrap test failures.
        Fixed bug GH-14774 (time_sleep_until overflow).
    Streams:
        Fixed bug GH-14930 (Custom stream wrapper dir_readdir output truncated to 255 characters in PHP 8.3).
    Tidy:
        Fix memory leak in tidy_repair_file().
    Treewide:
        Fix compatibility with libxml2 2.13.2.
    XML:
        Move away from to-be-deprecated libxml fields.
        Fixed bug GH-14834 (Error installing PHP when --with-pear is used).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:php/php8?expand=0&rev=170
2024-08-16 18:16:54 +00:00

56 lines
1.6 KiB
Bash

#!/bin/bash
TEST_RESULT_FILE_BEFORE='test_results.before'
TEST_RESULT_FILE_AFTER='test_results.after'
function usage
{
echo "usage: $0 buildroot [osc ARGUMENTS]"
echo " 1. Run first time to create ${TEST_RESULT_FILE_BEFORE}."
echo " 2. Make source changes."
echo " 3. Run second time to create ${TEST_RESULT_FILE_AFTER}"
echo " and see changes in test results."
}
if [ -z $1 ]; then
echo 'ERROR: missing a parameter: buildroot'
usage
exit 1
fi
if [ "$1" == "-h" ]; then
usage
exit 0
fi
export OSC_BUILD_ROOT=$1
shift
apiurl=`cat .osc/_apiurl 2>/dev/null`
if [ ! -z "$apiurl" ]; then
apiurl="-A $apiurl"
fi
osc $apiurl build $@ --no-verify --with make_test -x valgrind *.spec
if [ $? -ne 0 ]; then
echo "ERROR: build failed. See $OSC_BUILD_ROOT/.build.log for details."
exit 1
fi
cat $OSC_BUILD_ROOT/.build.log \
| sed 's:^\[[ 0-9]\+s\] ::' \
| egrep 'TEST [0-9]+\/[0-9]+|SKIP.*reason' \
| sed 's:.*\r::' \
| sort \
> ${TEST_RESULT_FILE_AFTER}
if [ ! -e ${TEST_RESULT_FILE_BEFORE} ]; then
echo "Creating ${TEST_RESULT_FILE_BEFORE}"
echo "Run $0 again AFTER source changes, to create ${TEST_RESULT_FILE_AFTER}."
echo "Differences will be checked then."
mv ${TEST_RESULT_FILE_AFTER} ${TEST_RESULT_FILE_BEFORE}
else
echo --- DIFFERENCES -------------------------------------------
diff -up $TEST_RESULT_FILE_BEFORE ${TEST_RESULT_FILE_AFTER}
echo -----------------------------------------------------------
echo "Do not forgot to "
echo "rm ${TEST_RESULT_FILE_BEFORE} ${TEST_RESULT_FILE_AFTER}"
echo
fi