Disable tests for i686 because it's broken for the GEOS and postgresql

18 combination in the RHEL environment.

Resolves: RHEL-90852
This commit is contained in:
Filip Janus 2025-12-01 10:00:12 +00:00
parent 468e2b1dc3
commit ebb46cf83a

View File

@ -338,6 +338,9 @@ find %buildroot \( -name '*.la' -or -name '*.a' \) -delete
desktop-file-validate %{buildroot}/%{_datadir}/applications/shp2pgsql-gui.desktop
%endif
%if %runselftest
%ifnarch i686
# tests are broken on i686 and this arch is not supported
# especially the combination of GEOS 3.12 and postgresql 18 causes troubles
%postgresql_tests_run
export PGIS_REG_TMPDIR=`mktemp -d`
if ! LD_LIBRARY_PATH=%{buildroot}%_libdir make check %{_smp_mflags} ; then
@ -347,6 +350,7 @@ if ! LD_LIBRARY_PATH=%{buildroot}%_libdir make check %{_smp_mflags} ; then
done
fi
%endif
%endif
%if %javabuild