mirror of https://github.com/google/oss-fuzz.git
[infra] Add different messages depending on bisection type (#6547)
A printed message after bisection should be different depending on the bisection type
This commit is contained in:
parent
67b90b57ab
commit
c99b0107b2
|
@ -115,7 +115,10 @@ def main():
|
||||||
'Bisection Error: Both the first and the last commits in'
|
'Bisection Error: Both the first and the last commits in'
|
||||||
'the given range have the same behavior, bisection is not possible. ')
|
'the given range have the same behavior, bisection is not possible. ')
|
||||||
return 1
|
return 1
|
||||||
print('Error was introduced at commit %s' % result.commit)
|
if args.type == 'regressed':
|
||||||
|
print('Error was introduced at commit %s' % result.commit)
|
||||||
|
elif args.type == 'fixed':
|
||||||
|
print('Error was fixed at commit %s' % result.commit)
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue