[nspr] - Run the nspr test suite in the %%check section (rhbz #717067)
Elio Maldonado
emaldonado at fedoraproject.org
Mon Jul 18 16:48:07 UTC 2011
commit 3ed7bc7eaaddb8dc67816a03177374af8036759d
Author: Elio Maldonado <emaldona at redhat.com>
Date: Mon Jul 18 09:47:12 2011 -0700
- Run the nspr test suite in the %%check section (rhbz #717067)
nspr.spec | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/nspr.spec b/nspr.spec
index f184a64..c8d0718 100644
--- a/nspr.spec
+++ b/nspr.spec
@@ -1,7 +1,7 @@
Summary: Netscape Portable Runtime
Name: nspr
Version: 4.8.8
-Release: 2%{?dist}
+Release: 3%{?dist}
License: MPLv1.1 or GPLv2+ or LGPLv2+
URL: http://www.mozilla.org/projects/nspr/
Group: System Environment/Libraries
@@ -64,6 +64,12 @@ cp %{SOURCE2} ./mozilla/nsprpub/config/
make
+%check
+
+# Run test suite.
+perl ./mozilla/nsprpub/pr/tests/runtests.pl 2>&1 | tee output.log
+
+
%install
%{__rm} -Rf $RPM_BUILD_ROOT
@@ -134,6 +140,9 @@ done
%{_bindir}/nspr-config
%changelog
+* Mon Jul 18 2011 Elio Maldonado <emaldona at redhat.com> - 4.8.8-3
+- Run the nspr test suite in the %%check section
+
* Wed Jul 06 2011 Elio Maldonado <emaldona at redhat.com> - 4.8.8-2
- Conditionalize Thumb2 build support on right Arm arches
More information about the scm-commits
mailing list