Bug 1227239 - Don't summarize talos suites with only one test;r=jmaher

This commit is contained in:
William Lachance 2015-11-23 14:05:05 -05:00
Родитель fe644e3d4d
Коммит 9193f2d1f2
1 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

@ -488,8 +488,10 @@ class PerfherderOutput(Output):
if test.test_config.get('unit'):
subtest['unit'] = test.test_config['unit']
suite['value'] = self.construct_results(vals,
testname=test.name())
# if there is more than one test, calculate a summary result
if len(tresults) > 1:
suite['value'] = self.construct_results(
vals, testname=test.name())
if test.test_config.get('lower_is_better') is not None:
suite['lowerIsBetter'] = test.test_config['lower_is_better']