Bug 775281: B2G Mochitest frontend fixes to enable xpcshell from test.sh. r=jgriffin
authorMarshall Culpepper <marshall@mozilla.com>
Tue, 26 Feb 2013 12:05:35 -0600
changeset 123045 4b91cf1b0430921f322b244356770c625e1ec42f
parent 123044 b5ec301ad6c04f33cb0b63ddb10b2ce8f1fbc444
child 123046 729d41f6743b5e2711d530cc413f7499babb60a7
push id24372
push useremorley@mozilla.com
push dateWed, 27 Feb 2013 13:22:59 +0000
treeherdermozilla-central@0a91da5f5eab [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjgriffin
bugs775281
milestone22.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 775281: B2G Mochitest frontend fixes to enable xpcshell from test.sh. r=jgriffin
testing/marionette/client/marionette/venv_mochitest.sh
--- a/testing/marionette/client/marionette/venv_mochitest.sh
+++ b/testing/marionette/client/marionette/venv_mochitest.sh
@@ -45,10 +45,13 @@ fi
 # Otherwise the call to setup.py will hang
 cd $MARIONETTE_HOME
 python setup.py develop
 cd $CWD
 
 # pop off the python parameter
 shift
 
-cd $GECKO_OBJDIR/_tests/testing/mochitest
+TEST_PWD=${TEST_PWD:-$GECKO_OBJDIR/_tests/testing/mochitest}
+cd $TEST_PWD
+
+set -x
 python runtestsb2g.py $@