bisect-kit: stop bisector for fatal errors
Some errors, e.g. incorrect command line argument, are fatal. Should
stop bisector instead of retrying them.
This CL also changed some non-fatal issues from assertion to normal
exceptions.
BUG=None
TEST=unittest
Change-Id: I0a6ffd0f697f4e79114d752585019e705e69c33f
Reviewed-on: https://chromium-review.googlesource.com/1795943
Tested-by: Zheng-Jie Chang <zjchang@chromium.org>
Tested-by: Kuang-che Wu <kcwu@chromium.org>
Commit-Ready: Zheng-Jie Chang <zjchang@chromium.org>
Commit-Ready: Kuang-che Wu <kcwu@chromium.org>
Legacy-Commit-Queue: Commit Bot <commit-bot@chromium.org>
Reviewed-by: Zheng-Jie Chang <zjchang@chromium.org>
Reviewed-by: Kuang-che Wu <kcwu@chromium.org>
diff --git a/runner.py b/runner.py
index 0848652..546d643 100755
--- a/runner.py
+++ b/runner.py
@@ -68,6 +68,7 @@
only if any conditions meet.
"""),
formatter_class=argparse.RawDescriptionHelpFormatter)
+ cli.patching_argparser_exit(parser)
common.add_common_arguments(parser)
group = parser.add_mutually_exclusive_group(required=True)
group.add_argument(