Bug 1023368 - Non-fatally provide information about the LLVM symbolizer in cppunittests. r=jmaher
authorAndrew McCreight <continuation@gmail.com>
Tue, 24 Jun 2014 11:27:39 -0700
changeset 211359 225ad76a4c79bc7a3e857143f16281d15302cc31
parent 211358 a997d84b6925038c2a7d90839d561a788e50e743
child 211360 654c1f0c88bc39f7ddb5589ee763f6689052c4e9
push id3857
push userraliiev@mozilla.com
push dateTue, 02 Sep 2014 16:39:23 +0000
treeherdermozilla-beta@5638b907b505 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjmaher
bugs1023368
milestone33.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 1023368 - Non-fatally provide information about the LLVM symbolizer in cppunittests. r=jmaher
testing/runcppunittests.py
--- a/testing/runcppunittests.py
+++ b/testing/runcppunittests.py
@@ -88,20 +88,20 @@ class CPPUnitTests(object):
             if pathvar in env:
                 env[pathvar] = "%s%s%s" % (self.xre_path, os.pathsep, env[pathvar])
             else:
                 env[pathvar] = self.xre_path
 
         # Use llvm-symbolizer for ASan if available/required
         llvmsym = os.path.join(self.xre_path, "llvm-symbolizer")
         if os.path.isfile(llvmsym):
-          env["ASAN_SYMBOLIZER_PATH"] = llvmsym
-          log.info("INFO | runcppunittests.py | ASan using symbolizer at %s", llvmsym)
+            env["ASAN_SYMBOLIZER_PATH"] = llvmsym
+            log.info("ASan using symbolizer at %s", llvmsym)
         else:
-          log.info("TEST-UNEXPECTED-FAIL | runcppunittests.py | Failed to find ASan symbolizer at %s", llvmsym)
+            log.info("Failed to find ASan symbolizer at %s", llvmsym)
 
         return env
 
     def run_tests(self, programs, xre_path, symbols_path=None):
         """
         Run a set of C++ unit test programs.
 
         Arguments: