From a2c5caefb34002dbbf6a2152c82e422feadeaea9 Mon Sep 17 00:00:00 2001 From: Justin Bogner Date: Wed, 2 Sep 2015 18:03:01 +0000 Subject: [PATCH] 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 | 65 ++++++++++++++++++++++++++++++++-------------------- 1 file changed, 40 insertions(+), 25 deletions(-) diff --git a/test/lit.cfg b/test/lit.cfg index 70a14a7648f..ace3c2a6776 100644 --- a/test/lit.cfg +++ b/test/lit.cfg @@ -221,6 +221,28 @@ else: # also have a post-assertion to not match a trailing hyphen (foo-). NOJUNK = r"(?