diff options
author | Kai Engert <kaie@kuix.de> | 2017-12-19 16:44:11 +0100 |
---|---|---|
committer | Kai Engert <kaie@kuix.de> | 2017-12-19 16:44:11 +0100 |
commit | b43eba209f409624ffb062387e9c6cff9a81952b (patch) | |
tree | 87a3d137bdadcfd64c6b86658880451c4a78c08b /tests/all.sh | |
parent | a57e3b5b290f4b78354188ba6900768ccac8a41b (diff) | |
download | nss-hg-b43eba209f409624ffb062387e9c6cff9a81952b.tar.gz |
Bug 1409516, NSS Tests detect FIPS buildconfiguration using certutil --build-flags. gyp builds with --enable-fips enable init tests. Enable cert_rsa_exponent test. Add Linux64 FIPS gyp build to taskcluster/CI. r=franziskus
Diffstat (limited to 'tests/all.sh')
-rwxr-xr-x | tests/all.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/all.sh b/tests/all.sh index 31af100eb..8d5bd2dbb 100755 --- a/tests/all.sh +++ b/tests/all.sh @@ -295,9 +295,9 @@ fi cycles="standard pkix upgradedb sharedb" CYCLES=${NSS_CYCLES:-$cycles} -if [ -n "$NSS_FORCE_FIPS" ]; then +NO_INIT_SUPPORT=`certutil --build-flags |grep -cw NSS_NO_INIT_SUPPORT` +if [ $NO_INIT_SUPPORT -eq 0 ]; then RUN_FIPS="fips" - export NSS_TEST_ENABLE_FIPS=1 fi tests="cipher lowhash libpkix cert dbtests tools $RUN_FIPS sdr crmf smime ssl ocsp merge pkits ec gtests ssl_gtests" @@ -310,7 +310,7 @@ TESTS=${NSS_TESTS:-$tests} ALL_TESTS=${TESTS} nss_ssl_tests="crl iopr policy" -if [ -n "$NSS_FORCE_FIPS" ]; then +if [ $NO_INIT_SUPPORT -eq 0 ]; then nss_ssl_tests="$nss_ssl_tests fips_normal normal_fips" fi NSS_SSL_TESTS="${NSS_SSL_TESTS:-$nss_ssl_tests}" |