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

Unified Diff: components/test/data/password_manager/automated_tests/run_tests.py

Issue 1023673005: [Password manager Python tests] Squash INFO logs into one per test (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/test/data/password_manager/automated_tests/run_tests.py
diff --git a/components/test/data/password_manager/automated_tests/run_tests.py b/components/test/data/password_manager/automated_tests/run_tests.py
index 62998dc1ed95223a63e628b616b62c437b44a11e..ea6d84649d17bdeb3cc3559768961b112e99680f 100644
--- a/components/test/data/password_manager/automated_tests/run_tests.py
+++ b/components/test/data/password_manager/automated_tests/run_tests.py
@@ -219,8 +219,9 @@ def run_tests(config_path):
runners.append(TestRunner(specific_test_cmd, test_name))
time.sleep(1)
failed_tests = [(name, log) for (name, passed, log) in results if not passed]
- logger.info("%d failed tests out of %d", len(failed_tests), len(results))
- logger.info("Failing tests: %s", [name for (name, _) in failed_tests])
+ logger.info("%d failed tests out of %d, failing tests: %s",
+ len(failed_tests), len(results),
+ [name for (name, _) in failed_tests])
logger.debug("Logs of failing tests: %s", failed_tests)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698