From a016d3aadfd0eddbf9763fd8c66d44bcebe48570 Mon Sep 17 00:00:00 2001 From: Jakub Dorňák Date: Aug 22 2016 19:06:29 +0000 Subject: skip other tests failing on different architectures --- diff --git a/sqlite.spec b/sqlite.spec index 3b6c09f..1fe2148 100644 --- a/sqlite.spec +++ b/sqlite.spec @@ -180,16 +180,24 @@ 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 -make test + +%ifarch s390x ppc64 +rm test/fts3conf.test %endif + +%ifarch armv7hl +rm test/trace3.test %endif +make test +%endif # with check + %post libs -p /sbin/ldconfig %postun libs -p /sbin/ldconfig