Bug 1147104 - Add running e10s based mochitests to run-all-loop-tests.sh to help catch Loop failures before they land. r=jaws NPOTB DONTBUILD
authorMark Banner <standard8@mozilla.com>
Wed, 25 Mar 2015 10:43:09 +0000
changeset 264393 e03fe49513913f8e2acc27d751472d277faf791b
parent 264392 0b91f8d552c888287ae1fbb8606f4da722d6d82f
child 264394 5727e5db4bb186d84b157609fdee9d12b3fe251f
push id4718
push userraliiev@mozilla.com
push dateMon, 11 May 2015 18:39:53 +0000
treeherdermozilla-beta@c20c4ef55f08 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjaws
bugs1147104
milestone39.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1147104 - Add running e10s based mochitests to run-all-loop-tests.sh to help catch Loop failures before they land. r=jaws NPOTB DONTBUILD
browser/components/loop/run-all-loop-tests.sh
--- a/browser/components/loop/run-all-loop-tests.sh
+++ b/browser/components/loop/run-all-loop-tests.sh
@@ -1,25 +1,38 @@
 #!/bin/sh
 # Run from topsrcdir, no args
 
+if [ "$1" == "--help" ]; then
+  echo "Usage: ./run-all-loop-tests.sh [options]"
+  echo "    --skip-e10s  Skips the e10s tests"
+  exit 0;
+fi
+
 set -e
 
 # Main tests
 ./mach xpcshell-test browser/components/loop/
 ./mach marionette-test browser/components/loop/manifest.ini
 
 # The browser_parsable_css.js can fail if we add some css that isn't parsable.
 #
 # The check to make sure that the media devices can be used in Loop without
 # prompting is in browser_devices_get_user_media_about_urls.js. It's possible
 # to mess this up with CSP handling, and probably other changes, too.
 
-./mach mochitest \
-  browser/components/loop/test/mochitest \
-  browser/modules/test/browser_UITour_loop.js \
+TESTS="
+  browser/components/loop/test/mochitest
+  browser/modules/test/browser_UITour_loop.js
   browser/base/content/test/general/browser_devices_get_user_media_about_urls.js
+"
+
+./mach mochitest $TESTS
+
+if [ "$1" != "--skip-e10s" ]; then
+  ./mach mochitest --e10s $TESTS
+fi
 
 # This is currently disabled because the test itself is busted.  Once bug
 # 1062821 is landed, we should see if things work again, and then re-enable it.
 # The re-enabling is tracked in bug 1113350.
 #
 #  browser/base/content/test/general/browser_parsable_css.js \