diff options
author | Craig Tiller <ctiller@google.com> | 2017-06-07 09:09:14 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2017-06-07 09:09:14 -0700 |
commit | 6af6594146a522dc27916683e237f508126fd77f (patch) | |
tree | 241d343d1cb51fad821c4fca47afccae251cf22f /tools/run_tests | |
parent | d16abf80a2198999c520582ef7d1cca0c90a9d1f (diff) |
Fix flag
Diffstat (limited to 'tools/run_tests')
-rwxr-xr-x | tools/run_tests/run_tests.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/run_tests/run_tests.py b/tools/run_tests/run_tests.py index f973b6422a..1155893328 100755 --- a/tools/run_tests/run_tests.py +++ b/tools/run_tests/run_tests.py @@ -1247,9 +1247,8 @@ argp.add_argument('--bq_result_table', type=str, nargs='?', help='Upload test results to a specified BQ table.') -argp.add_argument('--auto_set_flakes', dest='auto_set_flakes', action='store_true') -argp.add_argument('--no-auto_set_flakes', dest='auto_set_flakes', action='store_false') -argp.set_defaults('auto_set_flakes', True) +argp.add_argument('--auto_set_flakes', default=True, type=bool, + help='Set flakiness data from historic data') args = argp.parse_args() flaky_tests = set() |