llvm-lit may be available with CMake.

llvm-svn: 125168
This commit is contained in:
NAKAMURA Takumi 2011-02-09 04:18:02 +00:00
parent bf0b3ae86b
commit cbf582921e
1 changed files with 2 additions and 0 deletions

2
llvm/utils/llvm-lit/llvm-lit.in Normal file → Executable file
View File

@ -13,6 +13,8 @@ sys.path.append(os.path.join(llvm_source_root, 'utils', 'lit'))
# Set up some builtin parameters, so that by default the LLVM test suite
# configuration file knows how to find the object tree.
builtin_parameters = {
'build_config' : "@CMAKE_CFG_INTDIR@",
'build_mode' : "@RUNTIME_BUILD_MODE@",
'llvm_site_config' : os.path.join(llvm_obj_root, 'test', 'lit.site.cfg')
}