aboutsummaryrefslogtreecommitdiff
path: root/infra/bisector_test.py
diff options
context:
space:
mode:
authorOliver Chang <oliverchang@users.noreply.github.com>2020-04-21 08:05:45 +1000
committerGitHub <noreply@github.com>2020-04-21 08:05:45 +1000
commitd5ad37e6921938d83a368c09d86f48f3b6dec6b6 (patch)
tree58d9c45eddf94546fe9cd6dc2e528b4f00caa0d2 /infra/bisector_test.py
parent3999d17791e8742bd6fb2d9aa134e634bb130b66 (diff)
downloadoss-fuzz-d5ad37e6921938d83a368c09d86f48f3b6dec6b6.tar.gz
Return main repo URL in bisector result. (#3672)
Diffstat (limited to 'infra/bisector_test.py')
-rw-r--r--infra/bisector_test.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/infra/bisector_test.py b/infra/bisector_test.py
index aa42329eb..883e0f1fc 100644
--- a/infra/bisector_test.py
+++ b/infra/bisector_test.py
@@ -55,10 +55,10 @@ class BisectIntegrationTests(unittest.TestCase):
engine='libfuzzer',
sanitizer='address',
architecture='x86_64')
- error_sha = bisector.bisect(test_repo.old_commit, test_repo.new_commit,
- test_repo.test_case_path,
- test_repo.fuzz_target, build_data)
- self.assertEqual(error_sha, test_repo.intro_commit)
+ result = bisector.bisect(test_repo.old_commit, test_repo.new_commit,
+ test_repo.test_case_path,
+ test_repo.fuzz_target, build_data)
+ self.assertEqual(result.commit, test_repo.intro_commit)
if __name__ == '__main__':