diff options
author | Serge Rogatch <srogatch@accesssoftek.com> | 2016-12-07 22:00:02 +0000 |
---|---|---|
committer | Serge Rogatch <srogatch@accesssoftek.com> | 2016-12-07 22:00:02 +0000 |
commit | d3e58a9d6a007ac53930a68af5ef6c6418066247 (patch) | |
tree | fec8f55c65360f4a3d33bc1c161fb90b20fd8e7a | |
parent | af83c6630d02151a694e51bd4e73c1d112d71bfa (diff) |
[XRay][AArch64] Disable the unstable test XRay-aarch64-linux::patching-unpatching.cc
Summary:
The test `XRay-aarch64-linux::patching-unpatching.cc` sometimes passes, sometimes fails on buildbots.
This patch disables test `patching-unpatching.cc` for AArch64 targets.
Reviewers: rengolin, dberris
Subscribers: llvm-commits, iid_iunknown, aemerson
Differential Revision: https://reviews.llvm.org/D27528
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@288988 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/xray/TestCases/Linux/patching-unpatching.cc | 1 | ||||
-rw-r--r-- | test/xray/lit.cfg | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/test/xray/TestCases/Linux/patching-unpatching.cc b/test/xray/TestCases/Linux/patching-unpatching.cc index 05478a488..e684e427f 100644 --- a/test/xray/TestCases/Linux/patching-unpatching.cc +++ b/test/xray/TestCases/Linux/patching-unpatching.cc @@ -3,6 +3,7 @@ // // RUN: %clangxx_xray -fxray-instrument -std=c++11 %s -o %t // RUN: XRAY_OPTIONS="patch_premain=false" %run %t 2>&1 | FileCheck %s +// REQUIRES: stable-runtime #include "xray/xray_interface.h" diff --git a/test/xray/lit.cfg b/test/xray/lit.cfg index 04e21f1c4..5d030e101 100644 --- a/test/xray/lit.cfg +++ b/test/xray/lit.cfg @@ -32,3 +32,8 @@ config.suffixes = ['.c', '.cc', '.cpp'] if config.host_os not in ['Linux'] or config.host_arch.find('64') == -1: config.unsupported = True + +# Allow tests to use REQUIRES=stable-runtime. For use when you cannot use XFAIL +# e.g. because the test sometimes passes, sometimes fails. +if config.target_arch != 'aarch64': + config.available_features.add('stable-runtime') |