diff options
author | hanyoungYoo <47298930+hanyoungYoo@users.noreply.github.com> | 2021-10-04 21:14:41 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-04 07:14:41 -0500 |
commit | c99b0107b25e217455022add1f5efc18e9057bda (patch) | |
tree | 7128bf3f280e072b5840fcbc12c1dc8db67390fe | |
parent | 67b90b57ab59608fce7607661752fe5043b8be91 (diff) |
[infra] Add different messages depending on bisection type (#6547)
A printed message after bisection should be different depending on the bisection type
-rw-r--r-- | infra/bisector.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/infra/bisector.py b/infra/bisector.py index 9afdc7c5..51f93c13 100644 --- a/infra/bisector.py +++ b/infra/bisector.py @@ -115,7 +115,10 @@ def main(): 'Bisection Error: Both the first and the last commits in' 'the given range have the same behavior, bisection is not possible. ') 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 |