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

Unified Diff: build/android/test_runner.py

Issue 75543004: Support GTest's spellings for its options. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/test_runner.py
diff --git a/build/android/test_runner.py b/build/android/test_runner.py
index fa3e785da34a5a24b564aa5875467cc2f7343d93..bcfa7787cb225e8a358477dcadc8278158e6249b 100755
--- a/build/android/test_runner.py
+++ b/build/android/test_runner.py
@@ -100,9 +100,11 @@ def AddGTestOptions(option_parser):
option_parser.add_option('-s', '--suite', dest='suite_name',
help=('Executable name of the test suite to run '
'(use -s help to list them).'))
- option_parser.add_option('-f', '--gtest-filter', dest='test_filter',
+ option_parser.add_option('-f', '--gtest_filter', '--gtest-filter',
+ dest='test_filter',
help='googletest-style filter string.')
- option_parser.add_option('--gtest-also-run-disabled-tests',
+ option_parser.add_option('--gtest_also_run_disabled_tests',
+ '--gtest-also-run-disabled-tests',
dest='run_disabled', action='store_true',
help='Also run disabled tests if applicable.')
option_parser.add_option('-a', '--test-arguments', dest='test_arguments',
« 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