diff options
author | Galina Kistanova <gkistanova@gmail.com> | 2011-05-31 00:29:49 +0000 |
---|---|---|
committer | Galina Kistanova <gkistanova@gmail.com> | 2011-05-31 00:29:49 +0000 |
commit | 065063bdf42fac9732dcb0a7bac31e404249498b (patch) | |
tree | 84908444ec2c7f67ea52ab28ba556c584b1d20db /test/Unit | |
parent | 31fc0c1a16dabd397dd3323fb0dbe7052b87abd0 (diff) | |
download | clang-065063bdf42fac9732dcb0a7bac31e404249498b.tar.gz |
Preparations for separating target-specific clang tests.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@132319 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Unit')
-rw-r--r-- | test/Unit/lit.site.cfg.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Unit/lit.site.cfg.in b/test/Unit/lit.site.cfg.in index 9f4d224eb6..1803294dc6 100644 --- a/test/Unit/lit.site.cfg.in +++ b/test/Unit/lit.site.cfg.in @@ -10,6 +10,12 @@ config.enable_shared = @ENABLE_SHARED@ config.shlibdir = "@SHLIBDIR@" config.shlibpath_var = "@SHLIBPATH_VAR@" config.target_triple = "@TARGET_TRIPLE@" +config.targets_to_build = "@TARGETS_TO_BUILD@" + +# Exclude not supported target-specific tests.
+config.excludes = []
+if not 'X86' in config.targets_to_build:
+ config.excludes.append('X86') # Support substitution of the tools_dir, libs_dirs, and build_mode with user # parameters. This is used when we can't determine the tool dir at |