1import sys
2
3## Autogenerated by llbuild configuration.
4# Do not edit!
5config.llbuild_src_root = "@LLBUILD_SRC_DIR@"
6config.llbuild_obj_root = "@LLBUILD_OBJ_DIR@"
7config.llbuild_build_mode = "@LLBUILD_BUILD_MODE@"
8
9# Support substitution of the build_mode with user parameters. This is
10# used when we can't determine the tool dir at configuration time.
11try:
12    config.llbuild_build_mode = config.llbuild_build_mode % lit_config.params
13except KeyError:
14    e = sys.exc_info()[1]
15    key, = e.args
16    lit_config.fatal("unable to find %r parameter, use '--param=%s=VALUE'" % (
17        key, key))
18
19# Let the main config do the real work.
20lit_config.load_config(config, "@LLBUILD_SRC_DIR@/tests/Unit/lit.cfg")
21