Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(633)

Unified Diff: media/tools/layout_tests/layouttest_analyzer.py

Issue 113973006: Fix LTA post changes in parsing expectations. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | media/tools/layout_tests/test_expectations.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/tools/layout_tests/layouttest_analyzer.py
diff --git a/media/tools/layout_tests/layouttest_analyzer.py b/media/tools/layout_tests/layouttest_analyzer.py
index 7459a977891525194b18eb564951c7415fcd53ce..56687674eec3c8787065d6d57cf723ed63f40937 100755
--- a/media/tools/layout_tests/layouttest_analyzer.py
+++ b/media/tools/layout_tests/layouttest_analyzer.py
@@ -416,8 +416,8 @@ def UpdateDashboard(dashboard_file_location, test_group_name, data_map,
'skip_tests_count': len(data_map['skip'][0]),
'nonskip_tests_path': escaped_tg_name + '_nonskip.html',
'nonskip_tests_count': len(data_map['nonskip'][0]),
- 'fail_rate': 100 - int(data_map['passingrate'][0]),
- 'passing_rate': int(data_map['passingrate'][0]),
+ 'fail_rate': 100 - float(data_map['passingrate'][0]),
+ 'passing_rate': float(data_map['passingrate'][0]),
'rev_url': DEFAULT_REVISION_VIEW_URL % rev,
'rev': rev,
'rev_date': rev_date,
« no previous file with comments | « no previous file | media/tools/layout_tests/test_expectations.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698