[llvm] don't fail the build on failing tests on ppc(64) and s390(x)
Dan Horák
sharkcz at fedoraproject.org
Tue Oct 11 11:37:06 UTC 2011
commit 18499e0ccfced4b12711b83cafd669dd8b4b4c7c
Author: Dan Horák <dan at danny.cz>
Date: Tue Oct 11 13:35:38 2011 +0200
don't fail the build on failing tests on ppc(64) and s390(x)
llvm.spec | 23 ++++++++++++++++-------
1 files changed, 16 insertions(+), 7 deletions(-)
---
diff --git a/llvm.spec b/llvm.spec
index e10de08..8ee1160 100644
--- a/llvm.spec
+++ b/llvm.spec
@@ -15,7 +15,7 @@
Name: llvm
Version: 2.9
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: The Low Level Virtual Machine
Group: Development/Languages
@@ -342,14 +342,20 @@ find examples -name 'Makefile' | xargs -0r rm -f
# the Koji build server does not seem to have enough RAM
# for the default 16 threads
-# LLVM test suite failing on PPC64
-%ifnarch ppc64
-make check LIT_ARGS="-v -j4"
+# LLVM test suite failing on PPC64 and s390(x)
+make check LIT_ARGS="-v -j4" \
+%ifarch ppc64 s390 s390x
+ || :
+%else
+ %{nil}
%endif
-# clang test suite failing on PPC
-%ifnarch ppc ppc64
-make -C tools/clang/test TESTARGS="-v -j4"
+# clang test suite failing on PPC and s390(x)
+make -C tools/clang/test TESTARGS="-v -j4" \
+%ifarch ppc ppc64 s390 s390x
+ || :
+%else
+ %{nil}
%endif
@@ -466,6 +472,9 @@ exit 0
%changelog
+* Tue Oct 11 2011 Dan Horák <dan[at]danny.cz> - 2.9-5
+- don't fail the build on failing tests on ppc(64) and s390(x)
+
* Fri Sep 30 2011 Michel Salim <salimma at fedoraproject.org> - 2.9-4
- Apply upstream patch for Operator.h C++0x incompatibility (# 737365)
More information about the scm-commits
mailing list