summaryrefslogtreecommitdiff
path: root/test/sanitizer_common/lit.site.cfg.in
diff options
context:
space:
mode:
authorAlexey Samsonov <vonosmas@gmail.com>2016-02-23 01:34:17 +0000
committerAlexey Samsonov <vonosmas@gmail.com>2016-02-23 01:34:17 +0000
commit4f87e957770c76d8cb729346ce3e2c1f764b58e9 (patch)
treee4c32edef2a4d7ed16e60f2ea755c11eb2bda7d0 /test/sanitizer_common/lit.site.cfg.in
parent250dd5e3f5d3b125d5bd269a97b3f0f2a8d63f25 (diff)
[tests] Always specify correct config.target_arch when configuring test suite.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@261601 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/sanitizer_common/lit.site.cfg.in')
-rw-r--r--test/sanitizer_common/lit.site.cfg.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/sanitizer_common/lit.site.cfg.in b/test/sanitizer_common/lit.site.cfg.in
index b1e34c8a6..deb5ebab0 100644
--- a/test/sanitizer_common/lit.site.cfg.in
+++ b/test/sanitizer_common/lit.site.cfg.in
@@ -1,12 +1,12 @@
-# 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 = "@CONFIG_NAME@"
config.tool_name = "@SANITIZER_COMMON_LIT_TEST_MODE@"
config.target_cflags = "@SANITIZER_COMMON_TEST_TARGET_CFLAGS@"
config.target_arch = "@SANITIZER_COMMON_TEST_TARGET_ARCH@"
+# Load common config for all compiler-rt lit tests.
+lit_config.load_config(config, "@COMPILER_RT_BINARY_DIR@/test/lit.common.configured")
+
# Load tool-specific config that would do the real work.
lit_config.load_config(config, "@SANITIZER_COMMON_LIT_SOURCE_DIR@/lit.common.cfg")