From af5c7c8d3074aab432ef94d49a325a0d52e4aaaf Mon Sep 17 00:00:00 2001 From: melandory Date: Mon, 18 May 2015 06:33:33 -0700 Subject: [Password manager tests automation] Log test cases which will be run. Logs test cases which will be run, which helps to catch cases when you misspell config parameter name and run all test cases instead of specified once. BUG=369521 R=vabr@chromium.org Review URL: https://codereview.chromium.org/1142803002 Cr-Commit-Position: refs/heads/master@{#330353} --- components/test/data/password_manager/automated_tests/run_tests.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'components/test') 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 ef114da..7a054a5 100644 --- a/components/test/data/password_manager/automated_tests/run_tests.py +++ b/components/test/data/password_manager/automated_tests/run_tests.py @@ -156,6 +156,9 @@ def RunTests(config_path): logger = logging.getLogger("run_tests") logger.log(SCRIPT_DEBUG, "%d tests to run: %s", len(config.tests_to_run), config.tests_to_run) + logger.log(SCRIPT_DEBUG, "%d test cases to run: %s", + len(config.test_cases_to_run), + config.test_cases_to_run) data = [(website, test_case, config) for website in config.tests_to_run for test_case in config.test_cases_to_run] -- cgit v1.1