From 78b8ce38c4eb88c300576a87bd86e0daa34caeda Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Fri, 26 Jun 2015 20:30:50 +0100 Subject: [PATCH] Enable the test suite during the build. Currently the results are only advisory. --- ocaml.spec | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/ocaml.spec b/ocaml.spec index 997957d..6f6a3ee 100644 --- a/ocaml.spec +++ b/ocaml.spec @@ -17,7 +17,7 @@ Name: ocaml Version: 4.02.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: OCaml compiler and programming environment @@ -244,6 +244,21 @@ boot/ocamlrun ./ocamlc $includes dynlinkaux.cmo ocamlbyteinfo.ml -o ocamlbyteinf #boot/ocamlrun ./ocamlopt $includes unix.cmxa str.cmxa natdynlink.ml ocamlplugininfo.ml -o ocamlplugininfo +%check +cd testsuite + +# See comments above. +unset MAKEFLAGS + +%ifarch ppc64 ppc64le +ulimit -a +ulimit -Hs 65536 +ulimit -Ss 65536 +%endif + +make all ||: + + %install make install \ BINDIR=$RPM_BUILD_ROOT%{_bindir} \ @@ -423,6 +438,10 @@ fi %changelog +* Fri Jun 26 2015 Richard W.M. Jones - 4.02.2-2 +- Enable the test suite during the build. Currently the results are + only advisory. + * Tue Jun 23 2015 Richard W.M. Jones - 4.02.2-1 - New upstream version: 4.02.2. - No need for a mass rebuild, since this version is identical to RC1.