Skip to content

Commit 25350a7

Browse files
committed
[compiler-rt] [test] Generalize the triple regex for windows XFAILs
Don't hardcode the vendor field in the triples to "pc"; for mingw environments the triple is often "<arch>-w64-windows-gnu". Differential Revision: https://reviews.llvm.org/D147862
1 parent 758318b commit 25350a7

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

compiler-rt/test/builtins/Unit/divmodti4_test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// XFAIL: target=aarch64-pc-windows-{{.*}}
1+
// XFAIL: target=aarch64-{{.*}}-windows-{{.*}}
22
// RUN: %clang_builtins %s %librt -o %t && %run %t
33
// REQUIRES: librt_has_divmodti4
44
// REQUIRES: int128

compiler-rt/test/builtins/Unit/fixunstfdi_test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// XFAIL: target=aarch64-pc-windows-{{.*}}
1+
// XFAIL: target=aarch64-{{.*}}-windows-{{.*}}
22
// RUN: %clang_builtins %s %librt -o %t && %run %t
33
// REQUIRES: librt_has_fixunstfdi
44

compiler-rt/test/builtins/Unit/multc3_test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// XFAIL: target=aarch64-pc-windows-{{.*}}
1+
// XFAIL: target=aarch64-{{.*}}-windows-{{.*}}
22
// RUN: %clang_builtins %s %librt -o %t && %run %t
33
// REQUIRES: librt_has_multc3
44

0 commit comments

Comments
 (0)