[nss/f21] - Update to nss-3.17.1 - Add a mechanism to skip test suite execution during development work

Kai Engert kengert at fedoraproject.org
Thu Sep 25 00:10:30 UTC 2014


commit 5dda91f0962b45bebdc1cfced9b1dbf5c5342602
Author: Kai Engert <kaie at redhat.com>
Date:   Thu Sep 25 02:10:16 2014 +0200

    - Update to nss-3.17.1
    - Add a mechanism to skip test suite execution during development work

 .gitignore |    2 +-
 nss.spec   |   28 ++++++++++++++++++++++------
 sources    |    2 +-
 3 files changed, 24 insertions(+), 8 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 601f0f1..bbeec53 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,4 +8,4 @@ TestCA.ca.cert
 TestUser50.cert
 TestUser51.cert
 /nss-pem-20140125.tar.bz2
-/nss-3.17.0.tar.gz
+/nss-3.17.1.tar.gz
diff --git a/nss.spec b/nss.spec
index 649eabd..4b81c08 100644
--- a/nss.spec
+++ b/nss.spec
@@ -1,6 +1,6 @@
 %global nspr_version 4.10.7
-%global nss_util_version 3.17.0
-%global nss_softokn_version 3.17.0
+%global nss_util_version 3.17.1
+%global nss_softokn_version 3.17.1
 %global unsupported_tools_directory %{_libdir}/nss/unsupported-tools
 %global allTools "certutil cmsutil crlutil derdump modutil pk12util pp signtool signver ssltap vfychain vfyserv"
 
@@ -18,8 +18,8 @@
 
 Summary:          Network Security Services
 Name:             nss
-Version:          3.17.0
-Release:          2%{?dist}
+Version:          3.17.1
+Release:          1%{?dist}
 License:          MPLv2.0
 URL:              http://www.mozilla.org/projects/security/pki/nss/
 Group:            System Environment/Libraries
@@ -423,7 +423,13 @@ nss_tests="libpkix cert dbtests tools fips sdr crmf smime ssl ocsp merge pkits c
 # global nss_ssl_tests "normal_fips"
 # global nss_ssl_run "cov auth"
 
-HOST=localhost DOMSUF=localdomain PORT=$MYRAND NSS_CYCLES=%{?nss_cycles} NSS_TESTS=%{?nss_tests} NSS_SSL_TESTS=%{?nss_ssl_tests} NSS_SSL_RUN=%{?nss_ssl_run} ./all.sh
+SKIP_NSS_TEST_SUITE=`echo $SKIP_NSS_TEST_SUITE`
+
+if [ "x$SKIP_NSS_TEST_SUITE" == "x" ]; then
+  HOST=localhost DOMSUF=localdomain PORT=$MYRAND NSS_CYCLES=%{?nss_cycles} NSS_TESTS=%{?nss_tests} NSS_SSL_TESTS=%{?nss_ssl_tests} NSS_SSL_RUN=%{?nss_ssl_run} ./all.sh
+else
+  echo "skipped test suite"
+fi
 
 popd
 
@@ -434,7 +440,13 @@ popd
 # GREP_EXIT_STATUS > 1 would indicate an error in grep such as failure to find the log file.
 killall $RANDSERV || :
 
-TEST_FAILURES=$(grep -c FAILED ./tests_results/security/localhost.1/output.log) || GREP_EXIT_STATUS=$?
+if [ "x$SKIP_NSS_TEST_SUITE" == "x" ]; then
+  TEST_FAILURES=$(grep -c FAILED ./tests_results/security/localhost.1/output.log) || GREP_EXIT_STATUS=$?
+else
+  TEST_FAILURES=0
+  GREP_EXIT_STATUS=1
+fi
+
 if [ ${GREP_EXIT_STATUS:-0} -eq 1 ]; then
   echo "okay: test suite detected no failures"
 else
@@ -749,6 +761,10 @@ fi
 
 
 %changelog
+* Wed Sep 24 2014 Kai Engert <kaie at redhat.com> - 3.17.1-1
+- Update to nss-3.17.1
+- Add a mechanism to skip test suite execution during development work
+
 * Thu Aug 21 2014 Kevin Fenzi <kevin at scrye.com> - 3.17.0-2
 - Rebuild for rpm bug 1131960
 
diff --git a/sources b/sources
index e9fdea2..5a172b1 100644
--- a/sources
+++ b/sources
@@ -8,4 +8,4 @@ f998b70c1be25e8bb9f5fdb5d50eb6f2  TestCA.ca.cert
 1b7b6808cd77d5df29bf5bb9e5fac967  TestUser50.cert
 ab0b56dd505a995425c03e5266f7c8d6  TestUser51.cert
 b8a94e863c852e1f8b75e930e76f8640  nss-pem-20140125.tar.bz2
-7e5e411e757949b699c0a5aa9417592b  nss-3.17.0.tar.gz
+4bac61d6db9312e20e70b812a17c74ea  nss-3.17.1.tar.gz


More information about the scm-commits mailing list