From 6726bca472645cdc91ae596a9f71de43a8158bbc Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Tue, 11 Jul 2023 13:54:15 -0400 Subject: [PATCH] testsuite: Skip failing analyzer tests on AIX. Some of the analyzer out-of-bounds-diagram tests fail on AIX. gcc/testsuite/ChangeLog: * gcc.dg/analyzer/out-of-bounds-diagram-4.c: Skip on AIX. * gcc.dg/analyzer/out-of-bounds-diagram-5-ascii.c: Same. * gcc.dg/analyzer/out-of-bounds-diagram-5-unicode.c: Same. * gcc.dg/analyzer/out-of-bounds-diagram-7.c: Same. * gcc.dg/analyzer/out-of-bounds-diagram-13.c: Same. * gcc.dg/analyzer/out-of-bounds-diagram-15.c: Same. --- gcc/testsuite/gcc.dg/analyzer/out-of-bounds-diagram-13.c | 1 + gcc/testsuite/gcc.dg/analyzer/out-of-bounds-diagram-15.c | 1 + gcc/testsuite/gcc.dg/analyzer/out-of-bounds-diagram-4.c | 1 + gcc/testsuite/gcc.dg/analyzer/out-of-bounds-diagram-5-ascii.c | 1 + gcc/testsuite/gcc.dg/analyzer/out-of-bounds-diagram-5-unicode.c | 1 + gcc/testsuite/gcc.dg/analyzer/out-of-bounds-diagram-7.c | 1 + 6 files changed, 6 insertions(+) diff --git a/gcc/testsuite/gcc.dg/analyzer/out-of-bounds-diagram-13.c b/gcc/testsuite/gcc.dg/analyzer/out-of-bounds-diagram-13.c index dcd1263dfbb4..9b2d6b304ab8 100644 --- a/gcc/testsuite/gcc.dg/analyzer/out-of-bounds-diagram-13.c +++ b/gcc/testsuite/gcc.dg/analyzer/out-of-bounds-diagram-13.c @@ -1,4 +1,5 @@ /* { dg-additional-options "-fdiagnostics-text-art-charset=unicode" } */ +/* { dg-skip-if "" { powerpc-ibm-aix* } } */ #include diff --git a/gcc/testsuite/gcc.dg/analyzer/out-of-bounds-diagram-15.c b/gcc/testsuite/gcc.dg/analyzer/out-of-bounds-diagram-15.c index e2a6381d37e1..411b84c32687 100644 --- a/gcc/testsuite/gcc.dg/analyzer/out-of-bounds-diagram-15.c +++ b/gcc/testsuite/gcc.dg/analyzer/out-of-bounds-diagram-15.c @@ -1,6 +1,7 @@ /* Regression test for ICE with short values of --param=analyzer-text-art-string-ellipsis-threshold=. */ /* { dg-additional-options "-fdiagnostics-text-art-charset=unicode --param=analyzer-text-art-string-ellipsis-threshold=0" } */ +/* { dg-skip-if "" { powerpc-ibm-aix* } } */ #include diff --git a/gcc/testsuite/gcc.dg/analyzer/out-of-bounds-diagram-4.c b/gcc/testsuite/gcc.dg/analyzer/out-of-bounds-diagram-4.c index ec8e4abd337a..d5d72482843a 100644 --- a/gcc/testsuite/gcc.dg/analyzer/out-of-bounds-diagram-4.c +++ b/gcc/testsuite/gcc.dg/analyzer/out-of-bounds-diagram-4.c @@ -1,4 +1,5 @@ /* { dg-additional-options "-fdiagnostics-text-art-charset=unicode" } */ +/* { dg-skip-if "" { powerpc-ibm-aix* } } */ #include diff --git a/gcc/testsuite/gcc.dg/analyzer/out-of-bounds-diagram-5-ascii.c b/gcc/testsuite/gcc.dg/analyzer/out-of-bounds-diagram-5-ascii.c index e82bce98fd1e..a0cdcbe06696 100644 --- a/gcc/testsuite/gcc.dg/analyzer/out-of-bounds-diagram-5-ascii.c +++ b/gcc/testsuite/gcc.dg/analyzer/out-of-bounds-diagram-5-ascii.c @@ -1,4 +1,5 @@ /* { dg-additional-options "-fdiagnostics-text-art-charset=ascii" } */ +/* { dg-skip-if "" { powerpc-ibm-aix* } } */ #include diff --git a/gcc/testsuite/gcc.dg/analyzer/out-of-bounds-diagram-5-unicode.c b/gcc/testsuite/gcc.dg/analyzer/out-of-bounds-diagram-5-unicode.c index 48fa12fd4830..3111a6fccf2a 100644 --- a/gcc/testsuite/gcc.dg/analyzer/out-of-bounds-diagram-5-unicode.c +++ b/gcc/testsuite/gcc.dg/analyzer/out-of-bounds-diagram-5-unicode.c @@ -1,4 +1,5 @@ /* { dg-additional-options "-fdiagnostics-text-art-charset=unicode" } */ +/* { dg-skip-if "" { powerpc-ibm-aix* } } */ #include diff --git a/gcc/testsuite/gcc.dg/analyzer/out-of-bounds-diagram-7.c b/gcc/testsuite/gcc.dg/analyzer/out-of-bounds-diagram-7.c index 25a9acc2f962..5e3f9a74d319 100644 --- a/gcc/testsuite/gcc.dg/analyzer/out-of-bounds-diagram-7.c +++ b/gcc/testsuite/gcc.dg/analyzer/out-of-bounds-diagram-7.c @@ -1,4 +1,5 @@ /* { dg-additional-options "-fdiagnostics-text-art-charset=unicode" } */ +/* { dg-skip-if "" { powerpc-ibm-aix* } } */ #include -- 2.11.4.GIT