Skip wchar-char test on s390x

Reported as https://bugzilla.redhat.com/show_bug.cgi?id=2256986
This commit is contained in:
Honza Horak 2024-01-05 21:54:14 +01:00
parent 9c4fbb4682
commit c8c29657db

View File

@ -69,6 +69,11 @@ popd
# GCC 10 defaults to -fno-common
# https://gcc.gnu.org/gcc-10/changes.html (see C section)
# Test wchar-char failing on s390x (only)
# Reported: https://bugzilla.redhat.com/show_bug.cgi?id=2256986
%ifarch s390x
sed -i '/wchar-char-test/d' test/tests
%endif
cd test && make installcheck %{_smp_mflags} CFLAGS="%{optflags} -fcommon" || {
echo "=== trying to find all regression.diffs files in build directory ==="
find -name regression.diffs | while read line; do