| 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 5dd44227663f75ac843256c55a0edae2f3f4e007..00d376c4778a4f2c59c578e4a99ba580572c2f5b 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,9 @@ 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>
|
| + # |test_cases_to_run| field is optional, if it is absent all test cases
|
| + # will be run.
|
| + test_cases_to_run=<test names to run, comma delimited>
|
| [logging]
|
| # |save-only-failures| is oprional, the default is false.
|
| save-only-failures=<boolean parameter which enforces saving results of only
|
| @@ -213,6 +216,10 @@ def run_tests(config_path):
|
| config.getboolean("logging", "save-only-failures")):
|
| general_test_cmd.append("--save-only-failures")
|
|
|
| + if config.has_option("run_options", "test_cases_to_run"):
|
| + general_test_cmd += ["--test-cases-to-run",
|
| + config.get("run_options", "test_cases_to_run").replace(",", " ")]
|
| +
|
| logger = logging.getLogger("run_tests")
|
| logger.log(SCRIPT_DEBUG, "%d tests to run: %s", len(tests_to_run),
|
| tests_to_run)
|
|
|