bisector: Don't attempt to checkout old OSS-Fuzz revision if it does not exist. (#3707)

This commit is contained in:
Oliver Chang 2020-04-24 15:37:22 +10:00 committed by GitHub
parent a6dae35933
commit e939fe3ced
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -127,6 +127,9 @@ def build_fuzzers_from_commit(commit, build_repo_manager, host_src_path,
],
check_result=True)
oss_fuzz_commit = oss_fuzz_commit.strip()
if not oss_fuzz_commit:
logging.warning('No suitable earlier OSS-Fuzz commit found.')
break
logging.info('Build failed. Retrying on earlier OSS-Fuzz commit %s.',
oss_fuzz_commit)