[compiler-rt] 95507c8 - [compiler-rt] Fix XFAIL conditions after converting to 'target=...'

Paul Robinson via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 13 06:23:56 PST 2023


Author: Paul Robinson
Date: 2023-01-13T06:16:33-08:00
New Revision: 95507c82bcfa5f9e5c2381d39fee3c17f4651bfb

URL: https://github.com/llvm/llvm-project/commit/95507c82bcfa5f9e5c2381d39fee3c17f4651bfb
DIFF: https://github.com/llvm/llvm-project/commit/95507c82bcfa5f9e5c2381d39fee3c17f4651bfb.diff

LOG: [compiler-rt] Fix XFAIL conditions after converting to 'target=...'

Fixes #60002.

Added: 
    

Modified: 
    compiler-rt/test/sanitizer_common/TestCases/printf-ldbl.c
    compiler-rt/test/sanitizer_common/TestCases/scanf-ldbl.c
    compiler-rt/test/ubsan/TestCases/Float/cast-overflow.cpp
    compiler-rt/test/ubsan/TestCases/Misc/log-path_test.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/sanitizer_common/TestCases/printf-ldbl.c b/compiler-rt/test/sanitizer_common/TestCases/printf-ldbl.c
index bb333a334b12f..713b62563a456 100644
--- a/compiler-rt/test/sanitizer_common/TestCases/printf-ldbl.c
+++ b/compiler-rt/test/sanitizer_common/TestCases/printf-ldbl.c
@@ -1,7 +1,7 @@
 // RUN: %clang %s -o %t && %run %t 2>&1
 
 // Issue #41838
-// XFAIL: target={{sparc.*solaris.*}}
+// XFAIL: sparc-target-arch && target={{*solaris.*}}
 
 #include <assert.h>
 #include <stdio.h>

diff  --git a/compiler-rt/test/sanitizer_common/TestCases/scanf-ldbl.c b/compiler-rt/test/sanitizer_common/TestCases/scanf-ldbl.c
index 0a6a81e8dd265..a38f34a245fae 100644
--- a/compiler-rt/test/sanitizer_common/TestCases/scanf-ldbl.c
+++ b/compiler-rt/test/sanitizer_common/TestCases/scanf-ldbl.c
@@ -1,7 +1,7 @@
 // RUN: %clang %s -o %t && %run %t 2>&1
 
 // Issue #41838
-// XFAIL: target={{sparc.*solaris.*}}
+// XFAIL: sparc-target-arch && target={{.*solaris.*}}
 
 #include <assert.h>
 #include <stdio.h>

diff  --git a/compiler-rt/test/ubsan/TestCases/Float/cast-overflow.cpp b/compiler-rt/test/ubsan/TestCases/Float/cast-overflow.cpp
index fdb3a0c13e000..4daa96c676c30 100644
--- a/compiler-rt/test/ubsan/TestCases/Float/cast-overflow.cpp
+++ b/compiler-rt/test/ubsan/TestCases/Float/cast-overflow.cpp
@@ -12,7 +12,7 @@
 // RUN: not %run %t 9 2>&1 | FileCheck %s --check-prefix=CHECK-9
 
 // Issue #41838
-// XFAIL: target={{sparc.*solaris.*}}
+// XFAIL: sparc-target-arch && target={{.*solaris.*}}
 
 // This test assumes float and double are IEEE-754 single- and double-precision.
 

diff  --git a/compiler-rt/test/ubsan/TestCases/Misc/log-path_test.cpp b/compiler-rt/test/ubsan/TestCases/Misc/log-path_test.cpp
index be5766d24e7d1..ffd95a5f9c0bb 100644
--- a/compiler-rt/test/ubsan/TestCases/Misc/log-path_test.cpp
+++ b/compiler-rt/test/ubsan/TestCases/Misc/log-path_test.cpp
@@ -26,7 +26,7 @@
 // XFAIL: target={{.*windows-msvc.*}}
 
 // Issue #41838
-// XFAIL: target={{sparc.*solaris.*}}
+// XFAIL: sparc-target-arch && target={{.*solaris.*}}
 
 #include <stdio.h>
 #include <stdlib.h>


        


More information about the llvm-commits mailing list