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

Unified Diff: expect_tests/main.py

Issue 709853003: New expect_tests UI (Closed) Base URL: https://chromium.googlesource.com/infra/testing/expect_tests@shebang
Patch Set: Fixed nits Created 6 years, 1 month 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 | « expect_tests/listing.py ('k') | expect_tests/pipeline.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: expect_tests/main.py
diff --git a/expect_tests/main.py b/expect_tests/main.py
index 8957adb1e94fce7e0e1bc0bbbf5e2a01fe35bc66..0cbc96d0c13e2a2be1b2f982dffbc7137245fd4d 100644
--- a/expect_tests/main.py
+++ b/expect_tests/main.py
@@ -64,24 +64,15 @@ def _parse_args(args):
).completer = lambda **_: []
sp.add_argument(
- '--package', metavar='PATH', action='append', default=[],
- help='path to a Python package.')
-
- sp.add_argument(
- '--directory', metavar='PATH', action='append', default=[],
- help='directory containing Python packages to test.')
-
- sp.add_argument(
'--html-report', '--html_report', metavar='DIR',
help='directory to write html report (default: disabled)'
).completer = lambda **_: []
sp.add_argument(
'test_glob', nargs='*', help=(
- 'glob to filter the tests acted on. If the glob begins with "-" '
- 'then it acts as a negation glob and anything which matches it '
- 'will be skipped. If a glob doesn\'t have "*" in it, "*" will be '
- 'implicitly appended to the end')
+ 'paths to look for tests in. It can be a directory containing '
+ 'packages, a package, a file inside a package or a test inside a '
+ 'file (append the name of the test to the path using a colon)')
)
opts = parser.parse_args(args)
« no previous file with comments | « expect_tests/listing.py ('k') | expect_tests/pipeline.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698