Bug 1467803 - Turn off static ctors perf tests for ASan builds r=jmaher
authorIonut Goldan <igoldan@mozilla.com>
Mon, 11 Jun 2018 13:07:24 +0300
changeset 422406 f3b724976427ef4632ab5d582889348a6f4d2022
parent 422405 10b88cb5ca085537d8dbd128736280e7a42823ec
child 422407 5df380fe91c3738556f576de1669edcf92a6bed2
push id34133
push usernbeleuzu@mozilla.com
push dateWed, 13 Jun 2018 21:50:48 +0000
treeherdermozilla-central@f7e0c30a33bc [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjmaher
bugs1467803
milestone62.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 1467803 - Turn off static ctors perf tests for ASan builds r=jmaher MozReview-Commit-ID: HYk1xKWTXv8
toolkit/crashreporter/tools/symbolstore.py
--- a/toolkit/crashreporter/tools/symbolstore.py
+++ b/toolkit/crashreporter/tools/symbolstore.py
@@ -628,23 +628,25 @@ class Dumper:
                     "subtests": [{
                         "name": "num_static_constructors",
                         "value": ctors,
                         "alertChangeType": "absolute",
                         "alertThreshold": 3
                     }]}
                 ]
             }
-            for opt in os.environ.get('PERFHERDER_EXTRA_OPTIONS', '').split():
+            perfherder_extra_options = os.environ.get('PERFHERDER_EXTRA_OPTIONS', '')
+            for opt in perfherder_extra_options.split():
                 for suite in perfherder_data['suites']:
                     if opt not in suite.get('extraOptions', []):
                         suite.setdefault('extraOptions', []).append(opt)
 
-            print('PERFHERDER_DATA: %s' % json.dumps(perfherder_data),
-                  file=sys.stderr)
+            if 'asan' not in perfherder_extra_options.lower():
+                print('PERFHERDER_DATA: %s' % json.dumps(perfherder_data),
+                    file=sys.stderr)
 
         elapsed = time.time() - t_start
         print('Finished processing %s in %.2fs' % (file, elapsed),
               file=sys.stderr)
 
 # Platform-specific subclasses.  For the most part, these just have
 # logic to determine what files to extract symbols from.