summaryrefslogtreecommitdiff
path: root/test/lit.common.configured.in
diff options
context:
space:
mode:
authorGreg Fitzgerald <gregf@codeaurora.org>2014-05-20 23:31:26 +0000
committerGreg Fitzgerald <gregf@codeaurora.org>2014-05-20 23:31:26 +0000
commit527e8c5eeb38ebd4b6c346963da1a9d8b9633b74 (patch)
tree281d468caca5cd3b2ed496d561382b969c135ca8 /test/lit.common.configured.in
parente3d7eac2a8363674a8912a12dd8ec0084127c94f (diff)
XFAIL ptrace test on arm
The patch adds better target_triple and target_arch defaults for lit tests, which allows us to XFAIL tests based on architecture. Was: target_triple = LLVM_DEFAULT_TARGET_TRIPLE target_arch = HOST_ARCH Now: target_triple = COMPILER_RT_TEST_TARGET_TRIPLE , otherwise LLVM_DEFAULT_TARGET_TRIPLE target_arch = first item in COMPILER_RT_TEST_TARGET_TRIPLE Differential Revision: http://reviews.llvm.org/D3855 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@209256 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/lit.common.configured.in')
-rw-r--r--test/lit.common.configured.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lit.common.configured.in b/test/lit.common.configured.in
index 472073b31..beecaa258 100644
--- a/test/lit.common.configured.in
+++ b/test/lit.common.configured.in
@@ -7,10 +7,10 @@ def set_default(attr, value):
setattr(config, attr, value)
# Generic config options for all compiler-rt lit tests.
-set_default("target_triple", "@TARGET_TRIPLE@")
+set_default("target_triple", "@COMPILER_RT_TEST_TARGET_TRIPLE@")
set_default("target_cflags", "@COMPILER_RT_TEST_COMPILER_CFLAGS@")
set_default("host_arch", "@HOST_ARCH@")
-set_default("target_arch", "@HOST_ARCH@")
+set_default("target_arch", "@COMPILER_RT_TEST_TARGET_ARCH@")
set_default("host_os", "@HOST_OS@")
set_default("llvm_build_mode", "@LLVM_BUILD_MODE@")
set_default("llvm_src_root", "@LLVM_SOURCE_DIR@")