summaryrefslogtreecommitdiff
path: root/lib/lit.common.unit.configured.in
blob: c726bba29a79cc89685b654a6c1ce424185962e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
## Autogenerated by LLVM/Clang configuration.
# Do not edit!

# Generic config options for all compiler-rt unit tests.
config.target_triple = "@TARGET_TRIPLE@"
config.llvm_src_root = "@LLVM_SOURCE_DIR@"
config.compiler_rt_src_root = "@COMPILER_RT_SOURCE_DIR@"
config.llvm_build_mode = "@LLVM_BUILD_MODE@"

try:
  config.llvm_build_mode = config.llvm_build_mode % lit.params
except KeyError,e:
  key, = e.args
  lit.fatal("unable to find %r parameter, use '--param=%s=VALUE'" % (key, key))

# Setup attributes common for all compiler-rt unit tests.
lit.load_config(config, "@COMPILER_RT_SOURCE_DIR@/lib/lit.common.unit.cfg")