[CMake] Add trailing newline to test source file to make sure -Wnewline-eof doesn...
[blocksruntime.git] / unittests / lit.common.unit.configured.in
blobfe827c638beb51467faef0f3f66930c1ce252c10
1 ## Autogenerated by LLVM/Clang configuration.
2 # Do not edit!
4 # Generic config options for all compiler-rt unit tests.
5 config.target_triple = "@TARGET_TRIPLE@"
6 config.llvm_src_root = "@LLVM_SOURCE_DIR@"
7 config.llvm_obj_root = "@LLVM_BINARY_DIR@"
8 config.llvm_tools_dir = "@LLVM_TOOLS_DIR@"
9 config.compiler_rt_src_root = "@COMPILER_RT_SOURCE_DIR@"
10 config.llvm_build_mode = "@LLVM_BUILD_MODE@"
11 config.host_arch = "@HOST_ARCH@"
12 config.host_os = "@HOST_OS@"
14 # LLVM tools dir and build mode can be passed in lit parameters,
15 # so try to apply substitution.
16 try:
17   config.llvm_tools_dir = config.llvm_tools_dir % lit_config.params
18   config.llvm_build_mode = config.llvm_build_mode % lit_config.params
19 except KeyError,e:
20   key, = e.args
21   lit_config.fatal("unable to find %r parameter, use '--param=%s=VALUE'" % (key, key))
23 # Setup attributes common for all compiler-rt unit tests.
24 lit_config.load_config(config, "@COMPILER_RT_SOURCE_DIR@/unittests/lit.common.unit.cfg")