summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2013-12-17 00:33:36 +0000
committerReid Kleckner <reid@kleckner.net>2013-12-17 00:33:36 +0000
commitb20feb998068ab06539c0488782533dfbf22db1a (patch)
tree6a1563b58d260cdaed92f35dd32d8903de6ed6c9 /utils
parentda84349207baf7e668bf2425b4c02522e26a6668 (diff)
downloadllvm-b20feb998068ab06539c0488782533dfbf22db1a.tar.gz
llvm-b20feb998068ab06539c0488782533dfbf22db1a.tar.bz2
llvm-b20feb998068ab06539c0488782533dfbf22db1a.tar.xz
Add the lit site config for unittests to bin/llvm-lit
This missing parameter was causing bin/llvm-lit to run the unittests from my primary build directory instead of my self-hosting build directory because llvm-config was on my PATH. This more closely matches what 'make check' will pass to lit.py. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197444 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rwxr-xr-xutils/llvm-lit/llvm-lit.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/llvm-lit/llvm-lit.in b/utils/llvm-lit/llvm-lit.in
index 87878d5638..92ec53a088 100755
--- a/utils/llvm-lit/llvm-lit.in
+++ b/utils/llvm-lit/llvm-lit.in
@@ -15,6 +15,8 @@ sys.path.insert(0, os.path.join(llvm_source_root, 'utils', 'lit'))
builtin_parameters = {
'build_mode' : "@CMAKE_CFG_INTDIR@",
'llvm_site_config' : os.path.join(llvm_obj_root, 'test', 'lit.site.cfg')
+ 'llvm_unit_site_config' : os.path.join(llvm_obj_root, 'test', 'Unit',
+ 'lit.site.cfg')
}
clang_obj_root = os.path.join(llvm_obj_root, 'tools', 'clang')