lit/LitConfig.py: Add the new method getToolsPath(dir,paths,tools).
commit73698d53838ac01892f0593de5d77b7bdc15c3bf
authorNAKAMURA Takumi <geek4civic@gmail.com>
Wed, 9 Feb 2011 04:19:15 +0000 (9 04:19 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Wed, 9 Feb 2011 04:19:15 +0000 (9 04:19 +0000)
tree7342493e3bb777860270e7ded6a2b0f48695b724
parentc521e4e00c7cd8a8bb10929770f8053273b9fdf4
lit/LitConfig.py: Add the new method getToolsPath(dir,paths,tools).

It seeks tools(eg. [cmp, grep, sed]) in same directory, to be sane.

It seeks "bash" only in the directory found at last time. Or bash would be insane (against other tools).

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