[tbb-commits] [tor-browser/tor-browser-45.2.0esr-6.5-1] Bug 18923: Add a script to run all Tor Browser specific tests

gk at torproject.org gk at torproject.org
Tue Jul 12 15:05:22 UTC 2016


commit 94d46ebdeaa375db4feff102264a768873d9fff8
Author: Nicolas Vigier <boklm at torproject.org>
Date:   Mon Jun 27 19:39:47 2016 +0200

    Bug 18923: Add a script to run all Tor Browser specific tests
---
 run-tbb-tests | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/run-tbb-tests b/run-tbb-tests
new file mode 100755
index 0000000..116ef34
--- /dev/null
+++ b/run-tbb-tests
@@ -0,0 +1,28 @@
+#!/bin/bash
+
+function mochitest() {
+    ./mach mochitest --log-tbpl tbb-tests.log.tmp "$@"
+    cat tbb-tests.log.tmp >> tbb-tests.log
+    rm -f tbb-tests.log.tmp
+}
+
+rm -f tbb-tests.log
+
+mochitest --setpref security.nocertdb=false docshell/test/test_tor_bug16620.html \
+          tbb-tests
+mochitest dom/base/test/test_tor_bug17207.html \
+          dom/base/test/test_tor_bug15502.html \
+          dom/base/test/test_tor_bug15564.html \
+          dom/base/test/test_tor_bug15703.html \
+          dom/events/test/test_tor_bug15646.html
+mochitest dom/tests/browser/browser_tor_bug17009.js \
+          netwerk/test/browser/browser_cacheFirstParty.js
+
+# Disabled tests:
+# - #19575: Test for privacy.thirdparty.isolate fails with a timeout
+#    dom/tests/mochitest/localstorage/test_localStorageByFirstParty.html
+
+echo *************************
+echo *************************
+echo "Summary of failed tests:"
+grep --color=never TEST-UNEXPECTED-FAIL tbb-tests.log





More information about the tbb-commits mailing list