summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2011-02-09 04:17:54 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2011-02-09 04:17:54 +0000
commitce83025ad1bb8984d68cfd004c93b7f5d19e69e9 (patch)
tree6844c47f4e3ed22be44446eba90f084653677445 /utils
parent8d5e22aa747f63f5c8efc278e63085c78a300dca (diff)
llvm-lit may be able to invoke clang tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125167 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r--utils/llvm-lit/llvm-lit.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/llvm-lit/llvm-lit.in b/utils/llvm-lit/llvm-lit.in
index 3ff2c2489c..a16e664d97 100644
--- a/utils/llvm-lit/llvm-lit.in
+++ b/utils/llvm-lit/llvm-lit.in
@@ -16,6 +16,10 @@ builtin_parameters = {
'llvm_site_config' : os.path.join(llvm_obj_root, 'test', 'lit.site.cfg')
}
+clang_site_config = os.path.join(llvm_obj_root, 'tools', 'clang', 'test', 'lit.site.cfg')
+if os.path.exists(clang_site_config):
+ builtin_parameters['clang_site_config'] = clang_site_config
+
if __name__=='__main__':
import lit
lit.main(builtin_parameters)