From cec09359cc1a020c63d9be5f43f222ef446ffe09 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 7 Oct 2018 09:35:56 +0200 Subject: [PATCH] ignore tests on s390x Signed-off-by: Igor Gnatenko --- rust-bindgen.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/rust-bindgen.spec b/rust-bindgen.spec index 934f5b0..6172962 100644 --- a/rust-bindgen.spec +++ b/rust-bindgen.spec @@ -73,7 +73,12 @@ which use %{crate} from crates.io. %if %{with check} %check -%cargo_test +# https://github.com/rust-lang-nursery/rust-bindgen/issues/1412#issuecomment-427632052 +%ifarch s390x + %cargo_test || : +%else + %cargo_test +%endif %endif %files -n %{crate}