| Index: scripts/slave/annotation_utils.py
|
| diff --git a/scripts/slave/annotation_utils.py b/scripts/slave/annotation_utils.py
|
| index b87e98806b9110be6493687d4ee197458dabde9d..f454b391ad211cb8619aad2e714b63765bd066bf 100644
|
| --- a/scripts/slave/annotation_utils.py
|
| +++ b/scripts/slave/annotation_utils.py
|
| @@ -11,7 +11,7 @@ TODO(stip): Move the perf dashboard code from runtest.py to here.
|
|
|
| import re
|
|
|
| -from slave import process_log_utils
|
| +from slave import performance_log_processor
|
| from slave import slave_utils
|
|
|
|
|
| @@ -46,9 +46,9 @@ def getText(result, observer, name):
|
|
|
| failed_test_count = len(observer.FailedTests())
|
| if failed_test_count == 0:
|
| - if result == process_log_utils.SUCCESS:
|
| + if result == performance_log_processor.SUCCESS:
|
| return basic_info
|
| - elif result == process_log_utils.WARNINGS:
|
| + elif result == performance_log_processor.WARNINGS:
|
| return basic_info + ['warnings']
|
|
|
| if observer.RunningTests():
|
| @@ -82,7 +82,7 @@ def annotate(test_name, result, results_tracker, full_name=False,
|
| # with no output (exit code can have some clues, especially on Windows).
|
| print 'exit code (as seen by runtest.py): %d' % result
|
|
|
| - get_text_result = process_log_utils.SUCCESS
|
| + get_text_result = performance_log_processor.SUCCESS
|
|
|
| for failure in sorted(results_tracker.FailedTests()):
|
| if full_name:
|
| @@ -107,18 +107,18 @@ def annotate(test_name, result, results_tracker, full_name=False,
|
| if parser_result > result:
|
| result = parser_result
|
|
|
| - if result == process_log_utils.SUCCESS:
|
| + if result == performance_log_processor.SUCCESS:
|
| if (len(results_tracker.ParsingErrors()) or
|
| len(results_tracker.FailedTests()) or
|
| len(results_tracker.SuppressionHashes())):
|
| print '@@@STEP_WARNINGS@@@'
|
| - get_text_result = process_log_utils.WARNINGS
|
| + get_text_result = performance_log_processor.WARNINGS
|
| elif result == slave_utils.WARNING_EXIT_CODE:
|
| print '@@@STEP_WARNINGS@@@'
|
| - get_text_result = process_log_utils.WARNINGS
|
| + get_text_result = performance_log_processor.WARNINGS
|
| else:
|
| print '@@@STEP_FAILURE@@@'
|
| - get_text_result = process_log_utils.FAILURE
|
| + get_text_result = performance_log_processor.FAILURE
|
|
|
| for desc in getText(get_text_result, results_tracker, test_name):
|
| print '@@@STEP_TEXT@%s@@@' % desc
|
|
|