[xray] Convert tests to check 'target=...'
authorPaul Robinson <paul.robinson@sony.com>
Tue, 20 Dec 2022 15:35:25 +0000 (07:35 -0800)
committerPaul Robinson <paul.robinson@sony.com>
Tue, 20 Dec 2022 15:36:08 +0000 (07:36 -0800)
Part of the project to eliminate special handling for triples in lit
expressions.

compiler-rt/test/xray/TestCases/Posix/arg1-arg0-logging.cpp
compiler-rt/test/xray/TestCases/Posix/arg1-logger.cpp
compiler-rt/test/xray/TestCases/Posix/arg1-logging-implicit-this.cpp
compiler-rt/test/xray/TestCases/Posix/fdr-reinit.cpp
compiler-rt/test/xray/TestCases/Posix/fork_basic_logging.cpp

index 757f81a..7125f19 100644 (file)
@@ -6,8 +6,8 @@
 // RUN: XRAY_OPTIONS="patch_premain=true verbosity=1 xray_logfile_base=arg0-arg1-logging-" %run %t
 //
 // TODO: Support these in ARM and PPC
-// XFAIL: arm || aarch64 || mips
-// UNSUPPORTED: powerpc64le
+// XFAIL: target={{(arm|aarch64|mips).*}}
+// UNSUPPORTED: target=powerpc64le{{.*}}
 
 #include "xray/xray_interface.h"
 #include <cassert>
index 48544c3..ee957af 100644 (file)
@@ -11,9 +11,9 @@
 // RUN: rm -f arg1-logger-*
 //
 // At the time of writing, the ARM trampolines weren't written yet.
-// XFAIL: arm || aarch64 || mips
+// XFAIL: target={{(arm|aarch64|mips).*}}
 // See the mailing list discussion of r296998.
-// UNSUPPORTED: powerpc64le
+// UNSUPPORTED: target=powerpc64le{{.*}}
 
 #include "xray/xray_interface.h"
 
index d8dd622..938383e 100644 (file)
@@ -4,8 +4,8 @@
 // RUN: rm -f log-args-this-*
 // RUN: XRAY_OPTIONS="patch_premain=true verbosity=1 xray_logfile_base=log-args-this-" %run %t
 //
-// XFAIL: FreeBSD || arm || aarch64 || mips
-// UNSUPPORTED: powerpc64le
+// XFAIL: target={{(arm|aarch64|mips).*}}
+// UNSUPPORTED: target=powerpc64le{{.*}}
 #include "xray/xray_interface.h"
 #include <cassert>
 
index faf1372..ad9a9e6 100644 (file)
@@ -1,5 +1,5 @@
 // This will sometimes segfault on the AArch64 and Arm bots
-// UNSUPPORTED: aarch64, arm
+// UNSUPPORTED: target={{(aarch64|arm).*}}
 // RUN: %clangxx_xray -g -std=c++11 %s -o %t
 // RUN: rm xray-log.fdr-reinit* || true
 // RUN: XRAY_OPTIONS="verbosity=1" %run %t
index fd8b781..58f310e 100644 (file)
@@ -12,7 +12,7 @@
 // REQUIRES: built-in-llvm-tree
 
 // Not ported.
-// UNSUPPORTED: netbsd
+// UNSUPPORTED: target={{.*netbsd.*}}
 
 #include "xray/xray_log_interface.h"
 #include <stdio.h>