Skip to content

Commit df3f5f7

Browse files
committed
[Windows] Convert tests to check 'target=<triple>'
Part of the project to eliminate special handling for triples in lit expressions.
1 parent a25f7c5 commit df3f5f7

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

clang/test/CodeGenCXX/vtable-debug-info.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// RUN: %clang -emit-llvm -S -g %s -o /dev/null
22
// Radar 8730409
3-
// XFAIL: windows-msvc
3+
// XFAIL: target={{.*windows-msvc}}
44

55
// FIXME: This test crashes on *-pc-win32
66
// for lack of debugging support on -integrated-as (MCCOFF).

clang/test/Driver/experimental-library-flag.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// On some platforms, -stdlib=libc++ is currently ignored, so -lc++experimental is not added.
22
// Once -stdlib=libc++ works on those, this XFAIL can be removed.
3-
// XFAIL: windows, x86_64-scei-ps4, x86_64-sie-ps5
3+
// XFAIL: target={{.*windows.*}}, x86_64-scei-ps4, x86_64-sie-ps5
44

55
// For some reason, this fails with a core dump on AIX. This needs to be investigated.
66
// UNSUPPORTED: aix

clang/test/Driver/fat-archive-unbundle-ext.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// REQUIRES: x86-registered-target
2-
// UNSUPPORTED: windows, darwin, aix
2+
// UNSUPPORTED: target={{.*windows.*}}, darwin, aix
33

44
// Generate dummy fat object
55
// RUN: %clang -O0 -target %itanium_abi_triple %s -c -o %t.host.o

clang/test/Driver/inhibit-downstream-commands.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
// CHECK: error: unknown type name 'invalid'
33
// CHECK-NOT: clang: error: assembler command failed
44
// CHECK-NOT: clang: error: linker command failed
5-
// XFAIL: windows-msvc, ps5
5+
// XFAIL: target={{.*windows-msvc}}, ps5
66
invalid C code!

clang/test/Driver/no-integrated-as.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; RUN: %clang -### -no-integrated-as -c %s 2>&1 | FileCheck %s -check-prefix IAS
22
; Windows and PS5 don't support no-integrated-as
3-
; XFAIL: windows-msvc, ps5
3+
; XFAIL: target={{.*windows-msvc}}, ps5
44
;
55
; Make sure the current file's filename appears in the output.
66
; We can't generically match on the assembler name, so we just make sure

llvm/test/MC/RISCV/rv32i-aliases-invalid.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# UNSUPPORTED: windows
1+
# UNSUPPORTED: target={{.*windows.*}}
22
# RUN: not llvm-mc -triple=riscv32 -riscv-no-aliases < %s -o /dev/null 2>&1 | FileCheck %s
33
# RUN: not llvm-mc -triple=riscv32 < %s -o /dev/null 2>&1 | FileCheck %s
44

llvm/test/MC/RISCV/rv64i-aliases-invalid.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# UNSUPPORTED: windows
1+
# UNSUPPORTED: target={{.*windows.*}}
22
# RUN: not llvm-mc -triple=riscv64 -riscv-no-aliases < %s -o /dev/null 2>&1 | FileCheck %s
33
# RUN: not llvm-mc -triple=riscv64 < %s 2>&1 -o /dev/null | FileCheck %s
44

0 commit comments

Comments
 (0)