Skip to content

Commit

Permalink
[xray] Convert tests to check 'target=...'
Browse files Browse the repository at this point in the history
Part of the project to eliminate special handling for triples in lit
expressions.
  • Loading branch information
pogo59 committed Dec 20, 2022
1 parent 752819e commit 015f8cd
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions compiler-rt/test/xray/TestCases/Posix/arg1-arg0-logging.cpp
Expand Up @@ -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>
Expand Down
4 changes: 2 additions & 2 deletions compiler-rt/test/xray/TestCases/Posix/arg1-logger.cpp
Expand Up @@ -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"

Expand Down
Expand Up @@ -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>

Expand Down
2 changes: 1 addition & 1 deletion compiler-rt/test/xray/TestCases/Posix/fdr-reinit.cpp
@@ -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
Expand Down
Expand Up @@ -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>
Expand Down

0 comments on commit 015f8cd

Please sign in to comment.