[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

llvm-svn: 288988
This commit is contained in:
Serge Rogatch 2016-12-07 22:00:02 +00:00
parent 1ed5396304
commit 3c265b55fc
2 changed files with 6 additions and 0 deletions

View File

@ -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"

View File

@ -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')