[compiler-rt] 25350a7 - [compiler-rt] [test] Generalize the triple regex for windows XFAILs
Martin Storsjö via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 10 14:03:53 PDT 2023
Author: Martin Storsjö
Date: 2023-04-11T00:02:33+03:00
New Revision: 25350a7362502b5ce84e9eab00501780b77f2eb9
URL: https://github.com/llvm/llvm-project/commit/25350a7362502b5ce84e9eab00501780b77f2eb9
DIFF: https://github.com/llvm/llvm-project/commit/25350a7362502b5ce84e9eab00501780b77f2eb9.diff
LOG: [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
Added:
Modified:
compiler-rt/test/builtins/Unit/divmodti4_test.c
compiler-rt/test/builtins/Unit/fixunstfdi_test.c
compiler-rt/test/builtins/Unit/multc3_test.c
Removed:
################################################################################
diff --git a/compiler-rt/test/builtins/Unit/divmodti4_test.c b/compiler-rt/test/builtins/Unit/divmodti4_test.c
index 7b8d3faae2cdf..6795a60c05f2c 100644
--- a/compiler-rt/test/builtins/Unit/divmodti4_test.c
+++ b/compiler-rt/test/builtins/Unit/divmodti4_test.c
@@ -1,4 +1,4 @@
-// XFAIL: target=aarch64-pc-windows-{{.*}}
+// XFAIL: target=aarch64-{{.*}}-windows-{{.*}}
// RUN: %clang_builtins %s %librt -o %t && %run %t
// REQUIRES: librt_has_divmodti4
// REQUIRES: int128
diff --git a/compiler-rt/test/builtins/Unit/fixunstfdi_test.c b/compiler-rt/test/builtins/Unit/fixunstfdi_test.c
index 4dfea4fb32135..d9f02bf472b5a 100644
--- a/compiler-rt/test/builtins/Unit/fixunstfdi_test.c
+++ b/compiler-rt/test/builtins/Unit/fixunstfdi_test.c
@@ -1,4 +1,4 @@
-// XFAIL: target=aarch64-pc-windows-{{.*}}
+// XFAIL: target=aarch64-{{.*}}-windows-{{.*}}
// RUN: %clang_builtins %s %librt -o %t && %run %t
// REQUIRES: librt_has_fixunstfdi
diff --git a/compiler-rt/test/builtins/Unit/multc3_test.c b/compiler-rt/test/builtins/Unit/multc3_test.c
index b436753c927be..06f55a68d991a 100644
--- a/compiler-rt/test/builtins/Unit/multc3_test.c
+++ b/compiler-rt/test/builtins/Unit/multc3_test.c
@@ -1,4 +1,4 @@
-// XFAIL: target=aarch64-pc-windows-{{.*}}
+// XFAIL: target=aarch64-{{.*}}-windows-{{.*}}
// RUN: %clang_builtins %s %librt -o %t && %run %t
// REQUIRES: librt_has_multc3
More information about the llvm-commits
mailing list