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

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

Issue 1015533007: [Password manager Python tests] Add a comment on logging (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 81d1b1261b51589d46724c3ff11f72d40a479737..62998dc1ed95223a63e628b616b62c437b44a11e 100644
--- a/components/test/data/password_manager/automated_tests/run_tests.py
+++ b/components/test/data/password_manager/automated_tests/run_tests.py
@@ -18,6 +18,14 @@ of the following structure:
tests_in_parallel=<number of parallel tests>
# |tests_to_runs| field is optional, if it is absent all tests will be run.
tests_to_run=<test names to run, comma delimited>
+
+The script uses the Python's logging library to report the test results,
+as well as debugging information. It emits three levels of logs (in
+descending order of severity):
+ logging.INFO: Summary of the tests.
+ logging.DEBUG: Details about tests failures.
+ SCRIPT_DEBUG (see below): Debug info of this script.
+You have to set up appropriate logging handlers to have the logs appear.
"""
import argparse
import ConfigParser
« 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