aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-06-07 09:09:14 -0700
committerGravatar Craig Tiller <ctiller@google.com>2017-06-07 09:09:14 -0700
commit6af6594146a522dc27916683e237f508126fd77f (patch)
tree241d343d1cb51fad821c4fca47afccae251cf22f /tools
parentd16abf80a2198999c520582ef7d1cca0c90a9d1f (diff)
Fix flag
Diffstat (limited to 'tools')
-rwxr-xr-xtools/run_tests/run_tests.py5
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()