summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/nss/nss/oe_ptest_fixup.patch
diff options
context:
space:
mode:
authorArmin Kuster <akuster808@gmail.com>2019-05-04 17:14:32 -0700
committerArmin Kuster <akuster808@gmail.com>2019-05-05 10:39:53 -0700
commit62b34d4dee35488c16616331d39da3a294e0e5e0 (patch)
treed27d85a8b9b36662f637b7f32a44969d53793507 /meta/recipes-support/nss/nss/oe_ptest_fixup.patch
parentae2be89c25087345975b1b56433348b17de96118 (diff)
downloadopenembedded-core-contrib-akuster/pkg_test.tar.gz
nss: add ptest supportakuster/pkg_test
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta/recipes-support/nss/nss/oe_ptest_fixup.patch')
-rw-r--r--meta/recipes-support/nss/nss/oe_ptest_fixup.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/meta/recipes-support/nss/nss/oe_ptest_fixup.patch b/meta/recipes-support/nss/nss/oe_ptest_fixup.patch
new file mode 100644
index 0000000000..10b9e90035
--- /dev/null
+++ b/meta/recipes-support/nss/nss/oe_ptest_fixup.patch
@@ -0,0 +1,26 @@
+Index: nss-3.43/nss/tests/common/init.sh
+===================================================================
+--- nss-3.43.orig/nss/tests/common/init.sh
++++ nss-3.43/nss/tests/common/init.sh
+@@ -267,7 +267,7 @@ if [ -z "${INIT_SOURCED}" -o "${INIT_SOU
+ COMMON=${TEST_COMMON-$common}
+ export COMMON
+
+- DIST=${DIST-${MOZILLA_ROOT}/dist}
++ DIST=/usr
+ TESTDIR=${TESTDIR-${MOZILLA_ROOT}/tests_results/security}
+
+ # Allow for override options from a config file
+Index: nss-3.43/nss/tests/all.sh
+===================================================================
+--- nss-3.43.orig/nss/tests/all.sh
++++ nss-3.43/nss/tests/all.sh
+@@ -303,7 +303,7 @@ if [ $NO_INIT_SUPPORT -eq 0 ]; then
+ RUN_FIPS="fips"
+ fi
+
+-tests="cipher lowhash libpkix cert dbtests tools $RUN_FIPS sdr crmf smime ssl ocsp merge pkits ec gtests ssl_gtests policy"
++tests="cipher lowhash libpkix cert dbtests tools sdr crmf smime ocsp merge pkits ec policy"
+ # Don't run chains tests when we have a gyp build.
+ if [ "$OBJDIR" != "Debug" -a "$OBJDIR" != "Release" ]; then
+ tests="$tests chains"