summaryrefslogtreecommitdiff
path: root/test/lsan/lit.site.cfg.in
diff options
context:
space:
mode:
authorDaniel Sanders <daniel.sanders@imgtec.com>2016-02-09 16:22:39 +0000
committerDaniel Sanders <daniel.sanders@imgtec.com>2016-02-09 16:22:39 +0000
commit7895f5b615d2b9f24ad6bcc05f1e2d63ba753c4f (patch)
tree39e95fbbcb02ae8c58efc1de4386546e7b3995d9 /test/lsan/lit.site.cfg.in
parent95c284a87c15d724748e80f2bfea04632b0adde6 (diff)
[lsan] Run the tests for each supported arch and suffix each one to distinguish them.
Summary: Previously, the tests only ran for the 64-bit equivalent of the default target (see -m64). Given the supported architecture list only contains 64-bit targets, this happens to work out the same as the supported targets in most cases but may matter for X86_64/X86_64h on Darwin. For other targets, the practical effect is that the test names contain the architecture. This resolves some confusion when lsan tests fail since their name no longer implies that they are trying to test the default target. Reviewers: samsonov Subscribers: tberghammer, danalbert, llvm-commits, srhines Differential Revision: http://reviews.llvm.org/D16859 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@260232 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/lsan/lit.site.cfg.in')
-rw-r--r--test/lsan/lit.site.cfg.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/lsan/lit.site.cfg.in b/test/lsan/lit.site.cfg.in
index 7d2877bdc..c703d0da4 100644
--- a/test/lsan/lit.site.cfg.in
+++ b/test/lsan/lit.site.cfg.in
@@ -1,7 +1,12 @@
+## Autogenerated by LLVM/Clang configuration.
+# Do not edit!
+
# Load common config for all compiler-rt lit tests.
lit_config.load_config(config, "@COMPILER_RT_BINARY_DIR@/test/lit.common.configured")
# Tool-specific config options.
+config.name_suffix = "@LSAN_TEST_CONFIG_SUFFIX@"
+config.target_cflags = "@LSAN_TEST_TARGET_CFLAGS@"
config.lsan_lit_test_mode = "@LSAN_LIT_TEST_MODE@"
# Load tool-specific config that would do the real work.