summaryrefslogtreecommitdiff
path: root/tests/all.sh
diff options
context:
space:
mode:
authorFranziskus Kiefer <franziskuskiefer@gmail.com>2019-12-04 18:13:51 +0000
committerFranziskus Kiefer <franziskuskiefer@gmail.com>2019-12-04 18:13:51 +0000
commit8be2fb4288c053d66ef94bb5c603d65ac7f4e7ad (patch)
treeee0b6fb5fd2bd6c4cd219d3faa07ab33b67b2c40 /tests/all.sh
parent40d8e4cbfb8c4f6c591a6588a5d8beca0c7f4147 (diff)
downloadnss-hg-8be2fb4288c053d66ef94bb5c603d65ac7f4e7ad.tar.gz
Bug 1594933 - disable libnssdbm by default; keep build on CI, r=jcj
Disale libnssdbm by default and add flag to enable it in builds. On CI a build and certs test with enabled legacy DB are added. Note that for some reason the coverage build fails. I have no idea why. I'm open for ideas. Differential Revision: https://phabricator.services.mozilla.com/D54673
Diffstat (limited to 'tests/all.sh')
-rwxr-xr-xtests/all.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/all.sh b/tests/all.sh
index aeda4e30d..69969fba5 100755
--- a/tests/all.sh
+++ b/tests/all.sh
@@ -51,10 +51,10 @@
# pkix - run test suites with PKIX enabled
# upgradedb - upgrade existing certificate databases to shareable
# format (creates them if doesn't exist yet) and run
-# test suites with those databases
+# test suites with those databases. Requires to enable libdm.
# sharedb - run test suites with shareable database format
# enabled (databases are created directly to this
-# format)
+# format). This is the default and doesn't need to be run separately.
#
# Mandatory environment variables (to be set before testing):
# -----------------------------------------------------------
@@ -135,7 +135,7 @@ run_tests()
}
########################## run_cycle_standard ##########################
-# run test suites with dbm database (no PKIX, no sharedb)
+# run test suites with sql database (no PKIX)
########################################################################
run_cycle_standard()
{
@@ -144,7 +144,7 @@ run_cycle_standard()
TESTS="${ALL_TESTS}"
TESTS_SKIP="cipher libpkix sdr ocsp pkits"
- NSS_DEFAULT_DB_TYPE="dbm"
+ NSS_DEFAULT_DB_TYPE=${NSS_DEFAULT_DB_TYPE:-"sql"}
export NSS_DEFAULT_DB_TYPE
run_tests
@@ -288,7 +288,7 @@ if [ -z "${INIT_SOURCED}" -o "${INIT_SOURCED}" != "TRUE" ]; then
. ./init.sh
fi
-cycles="standard pkix upgradedb sharedb"
+cycles="standard pkix"
CYCLES=${NSS_CYCLES:-$cycles}
NO_INIT_SUPPORT=`certutil --build-flags |grep -cw NSS_NO_INIT_SUPPORT`