[compiler-rt] r288988 - [XRay][AArch64] Disable the unstable test XRay-aarch64-linux::patching-unpatching.cc

Serge Rogatch via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 7 14:00:03 PST 2016


Author: rserge
Date: Wed Dec  7 16:00:02 2016
New Revision: 288988

URL: http://llvm.org/viewvc/llvm-project?rev=288988&view=rev
Log:
[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

Modified:
    compiler-rt/trunk/test/xray/TestCases/Linux/patching-unpatching.cc
    compiler-rt/trunk/test/xray/lit.cfg

Modified: compiler-rt/trunk/test/xray/TestCases/Linux/patching-unpatching.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/xray/TestCases/Linux/patching-unpatching.cc?rev=288988&r1=288987&r2=288988&view=diff
==============================================================================
--- compiler-rt/trunk/test/xray/TestCases/Linux/patching-unpatching.cc (original)
+++ compiler-rt/trunk/test/xray/TestCases/Linux/patching-unpatching.cc Wed Dec  7 16:00:02 2016
@@ -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"
 

Modified: compiler-rt/trunk/test/xray/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/xray/lit.cfg?rev=288988&r1=288987&r2=288988&view=diff
==============================================================================
--- compiler-rt/trunk/test/xray/lit.cfg (original)
+++ compiler-rt/trunk/test/xray/lit.cfg Wed Dec  7 16:00:02 2016
@@ -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')




More information about the llvm-commits mailing list