Skip to content

Commit

Permalink
[Windows] Convert tests to check 'target=<triple>'
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 Nov 29, 2022
1 parent a25f7c5 commit df3f5f7
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion clang/test/CodeGenCXX/vtable-debug-info.cpp
@@ -1,6 +1,6 @@
// RUN: %clang -emit-llvm -S -g %s -o /dev/null
// Radar 8730409
// XFAIL: windows-msvc
// XFAIL: target={{.*windows-msvc}}

// FIXME: This test crashes on *-pc-win32
// for lack of debugging support on -integrated-as (MCCOFF).
Expand Down
2 changes: 1 addition & 1 deletion clang/test/Driver/experimental-library-flag.cpp
@@ -1,6 +1,6 @@
// On some platforms, -stdlib=libc++ is currently ignored, so -lc++experimental is not added.
// Once -stdlib=libc++ works on those, this XFAIL can be removed.
// XFAIL: windows, x86_64-scei-ps4, x86_64-sie-ps5
// XFAIL: target={{.*windows.*}}, x86_64-scei-ps4, x86_64-sie-ps5

// For some reason, this fails with a core dump on AIX. This needs to be investigated.
// UNSUPPORTED: aix
Expand Down
2 changes: 1 addition & 1 deletion clang/test/Driver/fat-archive-unbundle-ext.c
@@ -1,5 +1,5 @@
// REQUIRES: x86-registered-target
// UNSUPPORTED: windows, darwin, aix
// UNSUPPORTED: target={{.*windows.*}}, darwin, aix

// Generate dummy fat object
// RUN: %clang -O0 -target %itanium_abi_triple %s -c -o %t.host.o
Expand Down
2 changes: 1 addition & 1 deletion clang/test/Driver/inhibit-downstream-commands.c
Expand Up @@ -2,5 +2,5 @@
// CHECK: error: unknown type name 'invalid'
// CHECK-NOT: clang: error: assembler command failed
// CHECK-NOT: clang: error: linker command failed
// XFAIL: windows-msvc, ps5
// XFAIL: target={{.*windows-msvc}}, ps5
invalid C code!
2 changes: 1 addition & 1 deletion clang/test/Driver/no-integrated-as.s
@@ -1,6 +1,6 @@
; RUN: %clang -### -no-integrated-as -c %s 2>&1 | FileCheck %s -check-prefix IAS
; Windows and PS5 don't support no-integrated-as
; XFAIL: windows-msvc, ps5
; XFAIL: target={{.*windows-msvc}}, ps5
;
; Make sure the current file's filename appears in the output.
; We can't generically match on the assembler name, so we just make sure
Expand Down
2 changes: 1 addition & 1 deletion llvm/test/MC/RISCV/rv32i-aliases-invalid.s
@@ -1,4 +1,4 @@
# UNSUPPORTED: windows
# UNSUPPORTED: target={{.*windows.*}}
# RUN: not llvm-mc -triple=riscv32 -riscv-no-aliases < %s -o /dev/null 2>&1 | FileCheck %s
# RUN: not llvm-mc -triple=riscv32 < %s -o /dev/null 2>&1 | FileCheck %s

Expand Down
2 changes: 1 addition & 1 deletion llvm/test/MC/RISCV/rv64i-aliases-invalid.s
@@ -1,4 +1,4 @@
# UNSUPPORTED: windows
# UNSUPPORTED: target={{.*windows.*}}
# RUN: not llvm-mc -triple=riscv64 -riscv-no-aliases < %s -o /dev/null 2>&1 | FileCheck %s
# RUN: not llvm-mc -triple=riscv64 < %s 2>&1 -o /dev/null | FileCheck %s

Expand Down

0 comments on commit df3f5f7

Please sign in to comment.