Bug 1411913 - Enable Marionette trace log for mochitest/reftest by default. r=jmaher

MozReview-Commit-ID: 1cGy3YlJml1

--HG--
extra : rebase_source : 23106578640a64848c164121a96cdddebd13cad8
This commit is contained in:
Henrik Skupin 2017-10-26 13:05:17 +02:00
parent 016e88352f
commit e3c38148be
2 changed files with 10 additions and 0 deletions

View File

@ -327,6 +327,10 @@ class RefTest(object):
port = options.marionette.split(':')[1]
prefs['marionette.defaultPrefs.port'] = int(port)
# Enable tracing output for detailed failures in case of
# failing connection attempts, and hangs (bug 1397201)
prefs['marionette.logging'] = "TRACE"
preference_file = os.path.join(here, 'reftest-preferences.js')
prefs.update(mozprofile.Preferences.read_prefs(preference_file))

View File

@ -1805,6 +1805,12 @@ toolbar#nav-bar {
"idle.lastDailyNotification=%d" %
int(time.time()))
# Enable tracing output for detailed failures in case of
# failing connection attempts, and hangs (bug 1397201)
options.extraPrefs.append(
"marionette.logging=%s" %
"TRACE")
# get extensions to install
extensions = self.getExtensionsToInstall(options)