Home | History | Annotate | Download | only in lit_tests
      1 ## Autogenerated by LLVM/Clang configuration.
      2 # Do not edit!
      3 
      4 config.target_triple = "@TARGET_TRIPLE@"
      5 config.host_os = "@HOST_OS@"
      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.clang = "@LLVM_BINARY_DIR@/bin/clang"
     10 
     11 # LLVM tools dir can be passed in lit parameters, so try to
     12 # apply substitution.
     13 try:
     14   config.llvm_tools_dir = config.llvm_tools_dir % lit.params
     15 except KeyError,e:
     16   key, = e.args
     17   lit.fatal("unable to find %r parameter, use '--param=%s=VALUE'" % (key, key))
     18 
     19 # Let the main config do the real work.
     20 lit.load_config(config, "@ASAN_SOURCE_DIR@/lit_tests/lit.cfg")
     21