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.

llvm-svn: 197444
This commit is contained in:
Reid Kleckner 2013-12-17 00:33:36 +00:00
parent 8ddf8bce91
commit 8dcf98547e
1 changed files with 2 additions and 0 deletions

View File

@ -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')