diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-11-08 09:07:51 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-11-08 09:07:51 +0000 |
commit | 0ab04bc27e4e367356b4c7f851c7e143a5799871 (patch) | |
tree | f32e669a97f78fb963bb99d8966e5ad8024b8b95 /llvm/test/Unit | |
parent | bf7afbaaaf43110612165858fdb0958ff12fe2bc (diff) | |
download | bcm5719-llvm-0ab04bc27e4e367356b4c7f851c7e143a5799871.tar.gz bcm5719-llvm-0ab04bc27e4e367356b4c7f851c7e143a5799871.zip |
Switch to using 'lit.site.cfg.in' for the site config template for Unit tests,
and generate it for CMake builds as well.
llvm-svn: 86451
Diffstat (limited to 'llvm/test/Unit')
-rw-r--r-- | llvm/test/Unit/lit.cfg | 3 | ||||
-rw-r--r-- | llvm/test/Unit/lit.site.cfg.in | 10 |
2 files changed, 11 insertions, 2 deletions
diff --git a/llvm/test/Unit/lit.cfg b/llvm/test/Unit/lit.cfg index 6fd39988aea..8321593cf71 100644 --- a/llvm/test/Unit/lit.cfg +++ b/llvm/test/Unit/lit.cfg @@ -7,8 +7,7 @@ import os # name: The name of this test suite. config.name = 'LLVM-Unit' -# suffixes: A list of file extensions to treat as test files, this is actually -# set by on_clone(). +# suffixes: A list of file extensions to treat as test files. config.suffixes = [] # test_source_root: The root path where tests are located. diff --git a/llvm/test/Unit/lit.site.cfg.in b/llvm/test/Unit/lit.site.cfg.in new file mode 100644 index 00000000000..c190ffa68e5 --- /dev/null +++ b/llvm/test/Unit/lit.site.cfg.in @@ -0,0 +1,10 @@ +## Autogenerated by LLVM/Clang configuration. +# Do not edit! +config.llvm_src_root = "@LLVM_SOURCE_DIR@" +config.llvm_obj_root = "@LLVM_BINARY_DIR@" +config.llvm_tools_dir = "@LLVM_TOOLS_DIR@" +config.llvmgcc_dir = "@LLVMGCCDIR@" +config.llvm_build_mode = "@LLVM_BUILD_MODE@" + +# Let the main config do the real work. +lit.load_config(config, "@LLVM_SOURCE_DIR@/test/Unit/lit.cfg") |