[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 14:10:14 PST 2016
This revision was automatically updated to reflect the committed changes.
Closed by commit rL288988: [XRay][AArch64] Disable the unstable test XRay-aarch64-linux::patching… (authored by rSerge).
Changed prior to commit:
https://reviews.llvm.org/D27528?vs=80619&id=80662#toc
Repository:
rL LLVM
https://reviews.llvm.org/D27528
Files:
compiler-rt/trunk/test/xray/TestCases/Linux/patching-unpatching.cc
compiler-rt/trunk/test/xray/lit.cfg
Index: compiler-rt/trunk/test/xray/TestCases/Linux/patching-unpatching.cc
===================================================================
--- compiler-rt/trunk/test/xray/TestCases/Linux/patching-unpatching.cc
+++ compiler-rt/trunk/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"
Index: compiler-rt/trunk/test/xray/lit.cfg
===================================================================
--- compiler-rt/trunk/test/xray/lit.cfg
+++ compiler-rt/trunk/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')
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27528.80662.patch
Type: text/x-patch
Size: 1050 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161207/8f4e709e/attachment.bin>
More information about the llvm-commits
mailing list