Skip to content

Instantly share code, notes, and snippets.

@felipc
Created November 13, 2013 21:22
Show Gist options
  • Save felipc/7456638 to your computer and use it in GitHub Desktop.
Save felipc/7456638 to your computer and use it in GitHub Desktop.
run it from obj-dir with: _virtualenv/bin/python2.7 _tests/testing/mochitest/runtests.py --chrome --test-manifest=testmanifest.json
diff --git a/testing/mochitest/Makefile.in b/testing/mochitest/Makefile.in
--- a/testing/mochitest/Makefile.in
+++ b/testing/mochitest/Makefile.in
@@ -18,16 +18,17 @@ include $(topsrcdir)/config/rules.mk
# necessary for relative objdir paths.
TARGET_DEPTH = ../../..
include $(topsrcdir)/build/automation-build.mk
# files that get copied into $objdir/_tests/
_SERV_FILES = \
runtests.py \
automation.py \
+ testmanifest.json \
runtestsb2g.py \
runtestsremote.py \
runtestsvmware.py \
mochitest_options.py \
manifest.webapp \
$(topsrcdir)/testing/mozbase/mozdevice/mozdevice/devicemanager.py \
$(topsrcdir)/testing/mozbase/mozdevice/mozdevice/devicemanagerADB.py \
$(topsrcdir)/testing/mozbase/mozdevice/mozdevice/devicemanagerSUT.py \
diff --git a/testing/mochitest/testmanifest.json b/testing/mochitest/testmanifest.json
new file mode 100644
--- /dev/null
+++ b/testing/mochitest/testmanifest.json
@@ -0,0 +1,6 @@
+{
+ "runtests": {
+ "content/base/test/chrome/test_bug391728.html": "",
+ "widget/tests": ""
+ }
+}
@felipc
Copy link
Author

felipc commented Nov 13, 2013

rebuild testing/mochitest and run runtests.py like:

_virtualenv/bin/python2.7 _tests/testing/mochitest/runtests.py --chrome --test-manifest=testmanifest.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment