From a1ad7fe7c26f9e75c4f7110e2427762380734597a4da905238a31c94b03bc1a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 8 Jun 2017 14:02:30 +0000 Subject: [PATCH] - Run tests only on intel 32/64bit OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libreoffice?expand=0&rev=503 --- libreoffice.changes | 5 +++++ libreoffice.spec | 12 +++--------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/libreoffice.changes b/libreoffice.changes index 6248c9b..c79d04d 100644 --- a/libreoffice.changes +++ b/libreoffice.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jun 8 14:04:07 UTC 2017 - tchvatal@suse.com + +- Run tests only on intel 32/64bit + ------------------------------------------------------------------- Wed Jun 7 08:39:03 UTC 2017 - tchvatal@suse.com diff --git a/libreoffice.spec b/libreoffice.spec index 1ade22b..a653a86 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -946,15 +946,6 @@ Provides additional %{langname} translations and resources for %{project}. \ echo "HTML_TIMESTAMP = NO" >> odk/docs/cpp/Doxyfile echo "HTML_TIMESTAMP = NO" >> odk/docs/idl/Doxyfile -# bypass test failure tracked by upstream bug -# https://bugs.documentfoundation.org/show_bug.cgi?id=105519 -%ifarch aarch64 ppc64 ppc64le -for xx in forecast.ets.add forecast.ets.mult linest logest minverse rate -do - rm -f sc/qa/unit/data/functions/fods/$xx.fods -done -%endif - %build # Parallel build settings ... lo_jobs="%{?jobs:%{jobs}}" @@ -1077,6 +1068,8 @@ export NOCONFIGURE=yes make verbose=true build-nocheck %check +# Run tests only on 32/64b intel as they are resource hogs +%ifarch %ix86 x86_64 make unset WITH_LANG # work around flawed accessibility check @@ -1085,6 +1078,7 @@ export OOO_TEST_SOFFICE=path:%{buildroot}%{baseinstdir}/program/soffice #timeout -k 2m 2h make smoketest.subsequentcheck # we don't need this anymore rm -f %{buildroot}%{baseinstdir}/program/classes/smoketest.jar +%endif %install make DESTDIR=%{buildroot} distro-pack-install