diff options
author | Simon Hausmann <simon.hausmann@nokia.com> | 2012-05-07 11:21:11 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@nokia.com> | 2012-05-07 11:21:11 +0200 |
commit | 2cf6c8816a73e0132bd8fa3b509d62d7c51b6e47 (patch) | |
tree | 988e8c5b116dd0466244ae2fe5af8ee9be926d76 /Tools/Scripts/webkitpy/common/net/layouttestresults.py | |
parent | dd91e772430dc294e3bf478c119ef8d43c0a3358 (diff) | |
download | qtwebkit-2cf6c8816a73e0132bd8fa3b509d62d7c51b6e47.tar.gz |
Imported WebKit commit 7e538425aa020340619e927792f3d895061fb54b (http://svn.webkit.org/repository/webkit/trunk@116286)
Diffstat (limited to 'Tools/Scripts/webkitpy/common/net/layouttestresults.py')
-rw-r--r-- | Tools/Scripts/webkitpy/common/net/layouttestresults.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Tools/Scripts/webkitpy/common/net/layouttestresults.py b/Tools/Scripts/webkitpy/common/net/layouttestresults.py index 05f8215d0..bd7211cca 100644 --- a/Tools/Scripts/webkitpy/common/net/layouttestresults.py +++ b/Tools/Scripts/webkitpy/common/net/layouttestresults.py @@ -144,6 +144,7 @@ class LayoutTestResults(object): def __init__(self, test_results): self._test_results = test_results self._failure_limit_count = None + self._unit_test_failures = [] # FIXME: run-webkit-tests should store the --exit-after-N-failures value # (or some indication of early exit) somewhere in the results.html/results.json @@ -172,4 +173,7 @@ class LayoutTestResults(object): return self.results_matching_failure_types(failure_types) def failing_tests(self): - return [result.test_name for result in self.failing_test_results()] + return [result.test_name for result in self.failing_test_results()] + self._unit_test_failures + + def add_unit_test_failures(self, unit_test_results): + self._unit_test_failures = unit_test_results |