]> granicus.if.org Git - llvm/commit
[lit/Win] Check if a path was found before attempting to use it.
authorDavid L. Jones <dlj@google.com>
Thu, 21 Sep 2017 01:26:16 +0000 (01:26 +0000)
committerDavid L. Jones <dlj@google.com>
Thu, 21 Sep 2017 01:26:16 +0000 (01:26 +0000)
commit07f3fba3164317b7564e351ab4a78f0056f31785
tree7bb0fdc446a0a63d95b4f5153dfd1e39f3fd13b9
parent3d39fc262434a48c12f5e9c06d7b144a0b19767d
[lit/Win] Check if a path was found before attempting to use it.

Summary:
This appears to break some bots, when getToolsPath fails to find some or
all of the tools (for example, an incomplete GnuWin32 installation).

Reviewers: zturner, modocache

Subscribers: sanjoy, llvm-commits

Differential Revision: https://reviews.llvm.org/D38115

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