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

Unified Diff: tools/telemetry/telemetry/unittest/json_results.py

Issue 429013004: Fix typos in num_failures_by_type for json results. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 months 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 | « mojo/tools/run_mojo_python_tests.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/unittest/json_results.py
diff --git a/tools/telemetry/telemetry/unittest/json_results.py b/tools/telemetry/telemetry/unittest/json_results.py
index a886746e54419d7b027606b13ddfa2e5dad52171..72c20f62ef11acc86d083e40825ad1023143244d 100644
--- a/tools/telemetry/telemetry/unittest/json_results.py
+++ b/tools/telemetry/telemetry/unittest/json_results.py
@@ -61,8 +61,8 @@ def _FullResults(suite, result, metadata):
failed_test_names = _FailedTestNames(result)
full_results['num_failures_by_type'] = {
- 'Failure': len(failed_test_names),
- 'Pass': len(all_test_names) - len(failed_test_names),
+ 'FAIL': len(failed_test_names),
+ 'PASS': len(all_test_names) - len(failed_test_names),
}
full_results['tests'] = {}
« no previous file with comments | « mojo/tools/run_mojo_python_tests.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698