6 # Variables configured at build time.
7 llvm_source_root
= "@LLVM_SOURCE_DIR@"
8 llvm_obj_root
= "@LLVM_BINARY_DIR@"
10 # Make sure we can find the lit package.
11 sys
.path
.append(os
.path
.join(llvm_source_root
, 'utils', 'lit'))
13 # Set up some builtin parameters, so that by default the LLVM test suite
14 # configuration file knows how to find the object tree.
15 builtin_parameters
= {
16 'llvm_site_config' : os
.path
.join(llvm_obj_root
, 'test', 'lit.site.cfg')
19 if __name__
=='__main__':
21 lit
.main(builtin_parameters
)