XFAIL ptrace test on arm
authorGreg Fitzgerald <gregf@codeaurora.org>
Tue, 20 May 2014 23:31:26 +0000 (23:31 +0000)
committerGreg Fitzgerald <gregf@codeaurora.org>
Tue, 20 May 2014 23:31:26 +0000 (23:31 +0000)
commit1733b5e2632d38a56591eb624ad379029fef77a0
tree729d1d54344a0d91edef30e49dfab361fd14d883
parentbd8652d27204ea1688662338992368a24edfa06a
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

llvm-svn: 209256
compiler-rt/CMakeLists.txt
compiler-rt/test/lit.common.configured.in
compiler-rt/test/sanitizer_common/TestCases/Linux/ptrace.cc