Update lit.cfg to support the clang-interpreter test from r207950

Performs behind-the-scenes RUN line substitution similarly to what's done with
clang-check and clang-format to ensure the executable is found.

llvm-svn: 207951
This commit is contained in:
Alp Toker 2014-05-05 06:42:07 +00:00
parent 1d487617f2
commit ee77934c17
2 changed files with 2 additions and 0 deletions

View File

@ -29,6 +29,7 @@ list(APPEND CLANG_TEST_DEPS
c-index-test diagtool arcmt-test c-arcmt-test
clang-check clang-format
clang-tblgen
clang-interpreter
PrintFunctionNames
SampleAnalyzerPlugin
)

View File

@ -308,6 +308,7 @@ for pattern in [r"\bFileCheck\b",
r"\bc-index-test\b",
NoPreHyphenDot + r"\bclang-check\b" + NoPostHyphenDot,
NoPreHyphenDot + r"\bclang-format\b" + NoPostHyphenDot,
NoPreHyphenDot + r"\bclang-interpreter\b" + NoPostHyphenDot,
# FIXME: Some clang test uses opt?
NoPreHyphenDot + r"\bopt\b" + NoPostHyphenDot,
# Handle these specially as they are strings searched