Bug 1467803 - Turn off static ctors perf tests for ASan builds r=jmaher

MozReview-Commit-ID: HYk1xKWTXv8

--HG--
extra : rebase_source : aaf0d3b300c8bc6fe7e798182cb6ec035061a706
This commit is contained in:
Ionut Goldan 2018-06-11 13:07:24 +03:00
parent aeadea577e
commit 153b13d4df

View File

@ -633,13 +633,15 @@ class Dumper:
}]}
]
}
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),