From 38a64717ae864c997e1070a9059ab8d9f9e2dfb9 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Fri, 17 Apr 2020 23:10:40 +0100 Subject: [PATCH] Disable tests on 32 bit because: https://github.com/ocaml/ocaml/issues/9460 --- libnbd.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libnbd.spec b/libnbd.spec index 529fcde..ce034a2 100644 --- a/libnbd.spec +++ b/libnbd.spec @@ -209,6 +209,9 @@ for f in fuse/test-*.sh; do chmod +x $f done +# Disable the tests on 32 bit because: +# https://github.com/ocaml/ocaml/issues/9460 +%ifarch aarch64 ppc64 ppc64le riscv64 s390x x86_64 make %{?_smp_mflags} check || { for f in $(find -name test-suite.log); do echo @@ -217,6 +220,7 @@ make %{?_smp_mflags} check || { done exit 1 } +%endif %files