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 204355 225ad76a4c79bc7a3e857143f16281d15302cc31
parent 204354 a997d84b6925038c2a7d90839d561a788e50e743
child 204356 654c1f0c88bc39f7ddb5589ee763f6689052c4e9
push idunknown
push userunknown
push dateunknown
reviewersjmaher
bugs1023368
milestone33.0a1
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: