[PATCH] D27528: [XRay][AArch64] Disable the unstable test XRay-aarch64-linux::patching-unpatching.cc
Serge Rogatch via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 7 09:41:15 PST 2016
rSerge created this revision.
rSerge added reviewers: dberris, rengolin.
rSerge added subscribers: iid_iunknown, llvm-commits.
Herald added a subscriber: aemerson.
The test `XRay-aarch64-linux::patching-unpatching.cc` sometimes passes, sometimes fails on buildbots.
This patch disables test `patching-unpatching.cc` for AArch64 targets.
https://reviews.llvm.org/D27528
Files:
test/xray/TestCases/Linux/patching-unpatching.cc
test/xray/lit.cfg
Index: test/xray/lit.cfg
===================================================================
--- test/xray/lit.cfg
+++ test/xray/lit.cfg
@@ -32,3 +32,8 @@
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')
Index: test/xray/TestCases/Linux/patching-unpatching.cc
===================================================================
--- test/xray/TestCases/Linux/patching-unpatching.cc
+++ 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"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27528.80619.patch
Type: text/x-patch
Size: 957 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161207/a989bb13/attachment.bin>
More information about the llvm-commits
mailing list