From a016d3aadfd0eddbf9763fd8c66d44bcebe48570 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Dor=C5=88=C3=A1k?= Date: Mon, 22 Aug 2016 21:06:29 +0200 Subject: [PATCH] skip other tests failing on different architectures --- sqlite.spec | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/sqlite.spec b/sqlite.spec index 3b6c09f..1fe2148 100644 --- a/sqlite.spec +++ b/sqlite.spec @@ -180,15 +180,23 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/*.{la,a} # XXX shell tests are broken due to loading system libsqlite3, work around... export LD_LIBRARY_PATH=`pwd`/.libs export MALLOC_CHECK_=3 -%ifarch armv7hl + +# csv01 hangs on all non-intel archs i've tried +%ifarch x86_64 %{ix86} +%else rm test/csv01.test %endif -%ifarch s390 s390x ppc ppc64 %{sparc} %{mips} -make test || : -%else + +%ifarch s390x ppc64 +rm test/fts3conf.test +%endif + +%ifarch armv7hl +rm test/trace3.test +%endif + make test -%endif -%endif +%endif # with check %post libs -p /sbin/ldconfig