test: Only warn about missing substitutions for required tools
authorJustin Bogner <mail@justinbogner.com>
Wed, 2 Sep 2015 18:03:01 +0000 (18:03 +0000)
committerJustin Bogner <mail@justinbogner.com>
Wed, 2 Sep 2015 18:03:01 +0000 (18:03 +0000)
commita2c5caefb34002dbbf6a2152c82e422feadeaea9
tree40b132d399e07343eaaa6a7b016044b21ce03836
parent984b15d7ca3b244506da41a2b60a0100e8691efe
test: Only warn about missing substitutions for required tools

Every time lit is invoked, I get warnings like so:

  lit.py: lit.cfg:286: note: Did not find llvm-go in /Users/bogner/build/llvm/./bin
  lit.py: lit.cfg:286: note: Did not find Kaleidoscope-Ch3 in /Users/bogner/build/llvm/./bin

Since these tools are only built in certain configs, these warnings
are superfluous. Change it so that we only warn about tools that are
built in all configs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@246684 91177308-0d34-0410-b5e6-96231b3b80d8
test/lit.cfg