diff options
author | Emma Vukelj <emmavukelj@google.com> | 2019-07-19 13:50:41 -0700 |
---|---|---|
committer | Emma Vukelj <emmavukelj@google.com> | 2019-07-22 17:42:31 +0000 |
commit | d8ce1d6da9f3646c0a04c7b870d31c40bfb643e5 (patch) | |
tree | 27c3080f554683929cc5cafac96f36955f433847 /binary_search_tool/common | |
parent | 0e39ab73c1b0a944f08313c2c0667419843d5b7b (diff) | |
download | toolchain-utils-d8ce1d6da9f3646c0a04c7b870d31c40bfb643e5.tar.gz |
AFDO-Bisect: Exit analysis on problem_status exit code
This CL makes it such that if the user-provided external script returns
PROBLEM_STATUS indicating that something went wrong (e.g. user sent
SIGINT, or some part of script crashed), then the analysis raises an
error stating so and terminates analysis. Receipt of the problem status
code is not persisted in the state file.
BUG=None
TEST=Existing tests and added test confirming error raising all pass.
Change-Id: Ie2ca6c608ed01b3717d5f09495660f99c3a5e05a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/1710021
Reviewed-by: Caroline Tice <cmtice@chromium.org>
Reviewed-by: George Burgess <gbiv@chromium.org>
Tested-by: Emma Vukelj <emmavukelj@google.com>
Diffstat (limited to 'binary_search_tool/common')
0 files changed, 0 insertions, 0 deletions