aboutsummaryrefslogtreecommitdiff
path: root/infra/bisector.py
diff options
context:
space:
mode:
authorjonathanmetzman <31354670+jonathanmetzman@users.noreply.github.com>2021-04-21 07:28:26 -0700
committerGitHub <noreply@github.com>2021-04-21 14:28:26 +0000
commitffe4f892b11b55a9548ea875189737e4a72aa159 (patch)
treeec5cf558d7e7f0c1faf8a2d31b9362bdb76b6324 /infra/bisector.py
parent86cf6694d937e6e8cc377bd7e9b2508877752f2a (diff)
downloadoss-fuzz-ffe4f892b11b55a9548ea875189737e4a72aa159.tar.gz
[helper] Fix build_image --pull and refactor (#5642)
Fix behavior of build_image --pull (Fixes #5640) Also refactor helper.py: 1. Change behavior of functions so that most return True on success and False on failure. 2. Only main will return 1 on failure and 0 on success now. Previous behavior was very error prone. 3. Rename _get_output_dir to _get_out_dir. 4. Make function docstrings use descriptive tense. 5. Make helper.py print help when no argument is specified.
Diffstat (limited to 'infra/bisector.py')
-rw-r--r--infra/bisector.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/infra/bisector.py b/infra/bisector.py
index 1438d0de9..23fb3378c 100644
--- a/infra/bisector.py
+++ b/infra/bisector.py
@@ -146,7 +146,7 @@ def _check_for_crash(project_name, fuzz_target, test_case_path):
fuzz_target,
False, [], [],
test_case_path,
- runner=docker_run,
+ run_function=docker_run,
err_result=(None, None, None))
if return_code is None:
return None