mirror of https://github.com/google/oss-fuzz.git
bisector: early exit when old_commit == new_commit. (#4458)
But do this after computing repo_url as that's still useful information.
This commit is contained in:
parent
862bfa9604
commit
34751cf016
|
@ -179,6 +179,9 @@ def _bisect(bisect_type, old_commit, new_commit, test_case_path, fuzz_target,
|
|||
if not repo_url or not repo_path:
|
||||
raise ValueError('Main git repo can not be determined.')
|
||||
|
||||
if old_commit == new_commit:
|
||||
raise BisectError('old_commit is the same as new_commit', repo_url)
|
||||
|
||||
# Copy /src from the built Docker container to ensure all dependencies
|
||||
# exist. This will be mounted when running them.
|
||||
host_src_dir = build_specified_commit.copy_src_from_docker(
|
||||
|
|
Loading…
Reference in New Issue