Bug 1215084 - Part 1: Add symbols-url option to emulator tests for taskcluster; r=hal
authorEdgar Chen <echen@mozilla.com>
Mon, 04 Jan 2016 11:40:52 +0800
changeset 278943 4d4178e60cb92c5d2b2b23760cfef7bbb00f66e4
parent 278942 55c65650a4a74a98d1399711eedc756777a0f173
child 278944 9cba1315b62e4750b8591a6f310de7a5068a7c00
push id29861
push userkwierso@gmail.com
push dateThu, 07 Jan 2016 22:48:28 +0000
treeherdermozilla-central@b4d9c2dd5f7a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewershal
bugs1215084
milestone46.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 1215084 - Part 1: Add symbols-url option to emulator tests for taskcluster; r=hal
testing/mozharness/scripts/b2g_emulator_unittest.py
--- a/testing/mozharness/scripts/b2g_emulator_unittest.py
+++ b/testing/mozharness/scripts/b2g_emulator_unittest.py
@@ -98,16 +98,23 @@ class B2GEmulatorTest(TestingMixin, VCSM
          "help": "Number of this chunk",
          }
     ], [
         ["--test-path"],
         {"action": "store",
          "dest": "test_path",
          "help": "Path of tests to run",
          }
+    ], [
+        ["--symbols-url"],
+        {"action": "store",
+         "dest": "symbols_url",
+         "default": None,
+         "help": "URL to the symbols which is used for crash reporter",
+         }
     ]] + copy.deepcopy(testing_config_options) \
        + copy.deepcopy(blobupload_config_options)
 
     error_list = [
         {'substr': 'FAILED (errors=', 'level': ERROR},
         {'substr': r'''Could not successfully complete transport of message to Gecko, socket closed''', 'level': ERROR},
         {'substr': r'''Could not communicate with Marionette server. Is the Gecko process still running''', 'level': ERROR},
         {'substr': r'''Connection to Marionette server is lost. Check gecko''', 'level': ERROR},
@@ -141,16 +148,17 @@ class B2GEmulatorTest(TestingMixin, VCSM
         c = self.config
         self.adb_path = c.get('adb_path', self._query_adb())
         self.installer_url = c.get('installer_url')
         self.installer_path = c.get('installer_path')
         self.test_url = c.get('test_url')
         self.test_packages_url = c.get('test_packages_url')
         self.test_manifest = c.get('test_manifest')
         self.busybox_path = None
+        self.symbols_url = c.get('symbols_url')
 
     # TODO detect required config items and fail if not set
 
     def query_abs_dirs(self):
         if self.abs_dirs:
             return self.abs_dirs
         abs_dirs = super(B2GEmulatorTest, self).query_abs_dirs()
         dirs = {}