]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[testsuite] [analyzer] skip access-mode: O_ACCMODE on vxworks
authorAlexandre Oliva <oliva@adacore.com>
Thu, 18 Apr 2024 11:01:11 +0000 (08:01 -0300)
committerAlexandre Oliva <oliva@gnu.org>
Thu, 18 Apr 2024 11:11:39 +0000 (08:11 -0300)
O_ACCMODE is not defined on vxworks, and the test is meaningless and
failing without it, so skip it.

for  gcc/testsuite/ChangeLog

* gcc.dg/analyzer/fd-access-mode-target-headers.c: Skip on
vxworks as well.

gcc/testsuite/gcc.dg/analyzer/fd-access-mode-target-headers.c

index b57b9fa2279c289ed9ca9613f4430c5a50bbfea7..9fc32638a3de470dfeff72f447290c9013d7295c 100644 (file)
@@ -1,5 +1,4 @@
-/* { dg-skip-if "" { powerpc*-*-aix* || newlib } } */
-/* { dg-skip-if "" { avr-*-* } } */
+/* { dg-skip-if "" { { powerpc*-*-aix* avr-*-* *-*-vxworks* } || newlib } } */
 
 #include <sys/stat.h>
 #include <fcntl.h>