зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1666565 - Carry suite value for shouldAlert when there is only one subtest r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D91038
This commit is contained in:
Родитель
cb0f9ac463
Коммит
9fcc66b6c6
|
@ -130,8 +130,11 @@ class Output(object):
|
|||
if test.test_config.get('unit'):
|
||||
subtest['unit'] = test.test_config['unit']
|
||||
|
||||
# if there is only one subtest, carry alerting setting from the suite
|
||||
if len(subtests) == 1:
|
||||
subtests[0]['shouldAlert'] = suite['shouldAlert']
|
||||
# if there is more than one subtest, calculate a summary result
|
||||
if len(subtests) > 1:
|
||||
elif len(subtests) > 1:
|
||||
suite['value'] = self.construct_results(
|
||||
vals, testname=test.name())
|
||||
if test.test_config.get('lower_is_better') is not None:
|
||||
|
|
Загрузка…
Ссылка в новой задаче