OSDN Git Service

utils/abtest: Refactor and add bisection method
authorMatthias Braun <matze@braunis.de>
Fri, 7 Sep 2018 17:08:44 +0000 (17:08 +0000)
committerMatthias Braun <matze@braunis.de>
Fri, 7 Sep 2018 17:08:44 +0000 (17:08 +0000)
commit0c1ea5a1294a92a0527c86b1dc6e58aec0459d31
tree19e1cab688c9f67ff529715ea627a4677dbd22ea
parent3071b63207c27177f2de90ffcd30352c465baff6
utils/abtest: Refactor and add bisection method

- Refactor/rewrite most of the code. Also make sure it passes
  pycodestyle/pyflakes now
- Add a new mode that performs bisection on the search space. This
  should be faster in the common case where there is only a small number
  of files or functions actually leading to failure.
  The previous sequential behavior can still be accessed via `--seq`.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@341679 91177308-0d34-0410-b5e6-96231b3b80d8
utils/abtest.py