166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman## Autogenerated by LLVM/Clang configuration.
266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman# Do not edit!
366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Baumanconfig.llvm_src_root = "@LLVM_SOURCE_DIR@"
466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Baumanconfig.llvm_obj_root = "@LLVM_BINARY_DIR@"
566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Baumanconfig.llvm_tools_dir = "@LLVM_TOOLS_DIR@"
666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Baumanconfig.llvmgcc_dir = "@LLVMGCCDIR@"
766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Baumanconfig.lit_tools_dir = "@LLVM_LIT_TOOLS_DIR@"
866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Baumanconfig.python_executable = "@PYTHON_EXECUTABLE@"
966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Baumanconfig.enable_shared = @ENABLE_SHARED@
1066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Baumanconfig.enable_assertions = @ENABLE_ASSERTIONS@
1166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
1266b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman# Support substitution of the tools_dir with user parameters. This is
1366b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman# used when we can't determine the tool dir at configuration time.
1466b8ab22586debccb1f787d4d52b7f042d4ddeb8John Baumantry:
1566b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman    config.llvm_tools_dir = config.llvm_tools_dir % lit.params
1666b8ab22586debccb1f787d4d52b7f042d4ddeb8John Baumanexcept KeyError,e:
1766b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman    key, = e.args
1866b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman    lit.fatal("unable to find %r parameter, use '--param=%s=VALUE'" % (key,key))
1966b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman
2066b8ab22586debccb1f787d4d52b7f042d4ddeb8John Bauman# Let the main config do the real work.
2166b8ab22586debccb1f787d4d52b7f042d4ddeb8John Baumanlit.load_config(config, "@LLVM_SOURCE_DIR@/test/lit.cfg")
22