mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 03:45:46 +00:00
Bug 1465659 - Take PERFHERDER_EXTRA_OPTIONS into account for static initializer count report. r=nalexander
--HG-- extra : rebase_source : af3296eb541b04217a5676b2ac9eacc20220978f
This commit is contained in:
parent
082d09bf5b
commit
1bf8415dea
@ -633,6 +633,11 @@ class Dumper:
|
||||
}]}
|
||||
]
|
||||
}
|
||||
for opt in os.environ.get('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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user