Bug 964379 - Add logging to figure out what's breaking xpcshell on comm-central on OSX 10.6.
authorRyan VanderMeulen <ryanvm@gmail.com>
Sun, 02 Feb 2014 22:30:43 -0500
changeset 182593 e3da5c1d1f4f24d086e5eaee587d27f4eb9bedbe
parent 182592 fd79a8abbbf89f9dcc9349ec417154946ba010a6
child 182594 f3c918a0e91c782fc04e0edbdd119557de5377ba
push id3343
push userffxbld
push dateMon, 17 Mar 2014 21:55:32 +0000
treeherdermozilla-beta@2f7d3415f79f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs964379
milestone29.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 964379 - Add logging to figure out what's breaking xpcshell on comm-central on OSX 10.6.
testing/xpcshell/runxpcshelltests.py
--- a/testing/xpcshell/runxpcshelltests.py
+++ b/testing/xpcshell/runxpcshelltests.py
@@ -791,17 +791,21 @@ class XPCShellTests(object):
                 for testdir in self.testdirs:
                     if testdir:
                         mp.read(os.path.join(testdir, 'xpcshell.ini'))
             else:
                 mp.read(self.manifest)
 
         self.buildTestPath()
 
-        self.alltests = mp.active_tests(**mozinfo.info)
+        try:
+            self.alltests = mp.active_tests(**mozinfo.info)
+        except TypeError:
+            sys.stderr.write("*** offending mozinfo.info: %s\n" % repr(mozinfo.info))
+            raise
 
         if self.singleFile is None and self.totalChunks > 1:
             self.chunkTests()
 
     def chunkTests(self):
         """
           Split the list of tests up into [totalChunks] pieces and filter the
           self.alltests based on thisChunk, so we only run a subset.