Bug 1348809 - disable chains tests in all.sh for gyp builds, r=ttaubert
authorFranziskus Kiefer <franziskuskiefer@gmail.com>
Mon, 20 Mar 2017 14:08:29 +0100
changeset 13233 ffd99ada08f7e46d1411e45ebd306de8bf4bae69
parent 13232 0f3ae796883085adf072463b213500592b75cd7a
child 13234 545e059dbb174a644b4f5e457a7ad2c816b49357
push id2102
push userfranziskuskiefer@gmail.com
push dateMon, 20 Mar 2017 13:14:44 +0000
reviewersttaubert
bugs1348809
Bug 1348809 - disable chains tests in all.sh for gyp builds, r=ttaubert
tests/all.sh
--- a/tests/all.sh
+++ b/tests/all.sh
@@ -268,17 +268,21 @@ run_cycles()
     done
 }
 
 ############################## main code ###############################
 
 cycles="standard pkix upgradedb sharedb"
 CYCLES=${NSS_CYCLES:-$cycles}
 
-tests="cipher lowhash libpkix cert dbtests tools fips sdr crmf smime ssl ocsp merge pkits chains ec gtests ssl_gtests"
+tests="cipher lowhash libpkix cert dbtests tools fips sdr crmf smime ssl ocsp merge pkits ec gtests ssl_gtests"
+# Don't run chains tests when we have a gyp build.
+if [ "$OBJDIR" != "Debug" -a "$OBJDIR" != "Release" ]; then
+  tests="$tests chains"
+fi
 TESTS=${NSS_TESTS:-$tests}
 
 ALL_TESTS=${TESTS}
 
 nss_ssl_tests="crl fips_normal normal_fips iopr policy"
 NSS_SSL_TESTS="${NSS_SSL_TESTS:-$nss_ssl_tests}"
 
 nss_ssl_run="cov auth stapling stress"