[clang] XFAIL clang/Driver/compress.c on AIX (PR #87269)

via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 2 06:36:18 PDT 2024


https://github.com/azhan92 updated https://github.com/llvm/llvm-project/pull/87269

>From cae3e372cba764854ced4d09bc975ab9614dfad0 Mon Sep 17 00:00:00 2001
From: Alison Zhang <alisonzhang at ibm.com>
Date: Mon, 1 Apr 2024 13:58:51 -0400
Subject: [PATCH 1/3] XFAIL Clang/Driver/compress.c

---
 clang/test/Driver/compress.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/clang/test/Driver/compress.c b/clang/test/Driver/compress.c
index 073bbe2afc8b95..bf99064436e725 100644
--- a/clang/test/Driver/compress.c
+++ b/clang/test/Driver/compress.c
@@ -1,4 +1,6 @@
-// REQUIRES: zlib
+// XFAIL: system-aix
+
+// // REQUIRES: zlib
 
 // RUN: %clang -### -fintegrated-as -Wa,-compress-debug-sections -c %s 2>&1 | FileCheck -check-prefix CHECK-_COMPRESS_DEBUG_SECTIONS %s
 // CHECK-_COMPRESS_DEBUG_SECTIONS: "-compress-debug-sections"

>From 7ed0d770b3048063b8a9dfc4293d98e0a880bfa6 Mon Sep 17 00:00:00 2001
From: Alison Zhang <alisonzhang at ibm.com>
Date: Mon, 1 Apr 2024 14:01:03 -0400
Subject: [PATCH 2/3] Add second xfail on aix

---
 clang/test/Driver/compress.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/clang/test/Driver/compress.c b/clang/test/Driver/compress.c
index bf99064436e725..51134352c5d2fb 100644
--- a/clang/test/Driver/compress.c
+++ b/clang/test/Driver/compress.c
@@ -1,6 +1,8 @@
 // XFAIL: system-aix
 
-// // REQUIRES: zlib
+// REQUIRES: zlib
+
+; XFAIL: target={{.*}}-aix{{.*}}
 
 // RUN: %clang -### -fintegrated-as -Wa,-compress-debug-sections -c %s 2>&1 | FileCheck -check-prefix CHECK-_COMPRESS_DEBUG_SECTIONS %s
 // CHECK-_COMPRESS_DEBUG_SECTIONS: "-compress-debug-sections"

>From 561d13a1fe6acd8e86bc54ab73dd9dcb3a1102d8 Mon Sep 17 00:00:00 2001
From: azhan92 <alisonxzhang at gmail.com>
Date: Tue, 2 Apr 2024 09:36:12 -0400
Subject: [PATCH 3/3] Update clang/test/Driver/compress.c

Co-authored-by: David Tenty <daltenty.dev at gmail.com>
---
 clang/test/Driver/compress.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clang/test/Driver/compress.c b/clang/test/Driver/compress.c
index 51134352c5d2fb..837cd0d675e05b 100644
--- a/clang/test/Driver/compress.c
+++ b/clang/test/Driver/compress.c
@@ -2,7 +2,7 @@
 
 // REQUIRES: zlib
 
-; XFAIL: target={{.*}}-aix{{.*}}
+// XFAIL: target={{.*}}-aix{{.*}}
 
 // RUN: %clang -### -fintegrated-as -Wa,-compress-debug-sections -c %s 2>&1 | FileCheck -check-prefix CHECK-_COMPRESS_DEBUG_SECTIONS %s
 // CHECK-_COMPRESS_DEBUG_SECTIONS: "-compress-debug-sections"



More information about the cfe-commits mailing list