rpms/llvm/devel llvm.spec,1.38,1.39

Michel Alexandre Salim salimma at fedoraproject.org
Wed Sep 30 16:48:32 UTC 2009


Author: salimma

Update of /cvs/pkgs/rpms/llvm/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv29823

Modified Files:
	llvm.spec 
Log Message:
Make tests advisory for now



Index: llvm.spec
===================================================================
RCS file: /cvs/pkgs/rpms/llvm/devel/llvm.spec,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -p -r1.38 -r1.39
--- llvm.spec	30 Sep 2009 06:30:47 -0000	1.38
+++ llvm.spec	30 Sep 2009 16:48:32 -0000	1.39
@@ -138,6 +138,7 @@ Summary:        Development files for %{
 Group:          Development/Libraries
 Requires:       %{name}-devel = %{version}-%{release}
 Requires:       %{name}-ocaml = %{version}-%{release}
+Requires:       ocaml
 
 %description    ocaml-devel
 The %{name}-ocaml-devel package contains libraries and signature files
@@ -195,14 +196,13 @@ make %{_smp_mflags} \
 
 
 %check
-# some tests fail on PPC
+# pre1: some tests fail on PPC
 # http://www.nabble.com/LLVM-2.6-pre1%3A-test-failures-on-Fedora-11.91-%28Rawhide%29-ppc-td25334198.html
+# pre2: test failures on x86_64 as well
 cd obj
-%ifnarch ppc
-make check
-%endif
+make check 2>&1 | tee ../llvm-testlog.txt || true
 # some clang tests still fail, preserve test results
-(cd tools/clang && make test 2>&1) | tee ../testlog.txt || true
+(cd tools/clang && make test 2>&1) | tee ../clang-testlog.txt || true
 
 
 %install
@@ -285,7 +285,7 @@ rm -rf %{buildroot}
 
 %files
 %defattr(-,root,root,-)
-%doc CREDITS.TXT LICENSE.TXT README.txt
+%doc CREDITS.TXT LICENSE.TXT README.txt llvm-testlog.txt
 %exclude %{_bindir}/llvm-config
 %{_bindir}/bugpoint
 %{_bindir}/llc
@@ -293,7 +293,6 @@ rm -rf %{buildroot}
 %{_bindir}/llvm*
 %{_bindir}/opt
 %exclude %{_mandir}/man1/clang.1.*
-%exclude %{_mandir}/man1/FileCheck.1.*
 %doc %{_mandir}/man1/*.1.gz
 
 %if %{?_with_doxygen:1}%{!?_with_doxygen:0}
@@ -313,15 +312,12 @@ rm -rf %{buildroot}
 
 %files -n clang
 %defattr(-,root,root,-)
-%doc clang-docs/* testlog.txt
+%doc clang-docs/* clang-testlog.txt
 %{_bindir}/clang*
-%{_bindir}/FileCheck
-%{_bindir}/FileUpdate
 %{_bindir}/tblgen
 %{_prefix}/lib/clang
 %{_libexecdir}/clang-cc
 %doc %{_mandir}/man1/clang.1.*
-%doc %{_mandir}/man1/FileCheck.1.*
 
 %files -n clang-analyzer
 %defattr(-,root,root,-)




More information about the fedora-extras-commits mailing list