diff options
author | ojan@chromium.org <ojan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-19 01:19:36 +0000 |
---|---|---|
committer | ojan@chromium.org <ojan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-19 01:19:36 +0000 |
commit | d594b4ae847b2acf973e326cdf71e438265ed257 (patch) | |
tree | 918009e708be9ef6b5bd8c88853de15902ea0a72 | |
parent | 610d8cc4f841d33ddff06d575e93f2e437d079b0 (diff) | |
download | chromium_src-d594b4ae847b2acf973e326cdf71e438265ed257.zip chromium_src-d594b4ae847b2acf973e326cdf71e438265ed257.tar.gz chromium_src-d594b4ae847b2acf973e326cdf71e438265ed257.tar.bz2 |
Add back in the "tests we want to pass for the current release" section
to the run_webkit_tests output. There are regexps that rely on it.
Fixing the regexps would require a master restart. Doesn't seem worth it.
TBR=tony@chromium.org
Review URL: http://codereview.chromium.org/209041
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26640 0039d316-1c4b-4281-b951-d872f2087c98
-rwxr-xr-x | webkit/tools/layout_tests/run_webkit_tests.py | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/webkit/tools/layout_tests/run_webkit_tests.py b/webkit/tools/layout_tests/run_webkit_tests.py index d0f809e..3d8a3b8 100755 --- a/webkit/tools/layout_tests/run_webkit_tests.py +++ b/webkit/tools/layout_tests/run_webkit_tests.py @@ -91,13 +91,16 @@ class ResultSummary: deferred: ResultSummary object for deferred tests. non_wontfix: ResultSummary object for non_wontfix tests. all: ResultSummary object for all tests, including skipped tests. + fixable: ResultSummary object for tests marked in test_expectations.txt as + needing fixing. fixable_count: Count of all fixable and skipped tests. This is essentially a deduped sum of all the non_wontfix failure counts. """ - def __init__(self, deferred, non_wontfix, all, fixable_count): + def __init__(self, deferred, non_wontfix, all, fixable, fixable_count): self.deferred = deferred self.non_wontfix = non_wontfix self.all = all + self.fixable = fixable self.fixable_count = fixable_count @@ -820,6 +823,12 @@ class TestRunner: skipped = (self._expectations.GetSkipped() - self._expectations.GetDeferredSkipped()) + fixable_result_summary = ResultSummaryEntry( + self._expectations.GetFixable(), + fixable_failures, + fixable_counts, + skipped) + deferred_tests = self._expectations.GetDeferred() non_wontfix_result_summary = ResultSummaryEntry( (self._test_files - self._expectations.GetWontFix() - deferred_tests), @@ -843,7 +852,7 @@ class TestRunner: total_fixable_count = len(self._expectations.GetFixable() | skipped) return ResultSummary(deferred_result_summary, non_wontfix_result_summary, - all_result_summary, total_fixable_count) + all_result_summary, fixable_result_summary, total_fixable_count) def _PrintResultSummary(self, result_summary, output): """Print a short summary to stdout about how many tests passed. @@ -856,6 +865,11 @@ class TestRunner: "\nTotal expected failures: %s\n" % result_summary.fixable_count) self._PrintResultSummaryEntry( + "Tests to be fixed for the current release", + result_summary.fixable, + output) + + self._PrintResultSummaryEntry( "Tests we want to pass for the current release", result_summary.non_wontfix, output) |