From: Reid Kleckner Date: Tue, 17 Dec 2013 00:33:36 +0000 (+0000) Subject: Add the lit site config for unittests to bin/llvm-lit X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b20feb998068ab06539c0488782533dfbf22db1a;p=oota-llvm.git 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 --- diff --git a/utils/llvm-lit/llvm-lit.in b/utils/llvm-lit/llvm-lit.in index 87878d5638c..92ec53a088f 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')