public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-10021] [testsuite] [analyzer] require fork where used
@ 2024-04-18 11:15 Alexandre Oliva
  0 siblings, 0 replies; only message in thread
From: Alexandre Oliva @ 2024-04-18 11:15 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:8a1170903212ed31fd970d3c1b9fabf50868d01a

commit r14-10021-g8a1170903212ed31fd970d3c1b9fabf50868d01a
Author: Alexandre Oliva <oliva@adacore.com>
Date:   Thu Apr 18 08:01:15 2024 -0300

    [testsuite] [analyzer] require fork where used
    
    Mark tests that fail due to the lack of fork, as in vxworks kernel
    mode, as requiring fork.
    
    
    for  gcc/testsuite/ChangeLog
    
            * gcc.dg/analyzer/pipe-glibc.c: Require fork.
            * gcc.dg/analyzer/pipe-manpages.c: Likewise.

Diff:
---
 gcc/testsuite/gcc.dg/analyzer/pipe-glibc.c    | 5 +++--
 gcc/testsuite/gcc.dg/analyzer/pipe-manpages.c | 2 ++
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/gcc/testsuite/gcc.dg/analyzer/pipe-glibc.c b/gcc/testsuite/gcc.dg/analyzer/pipe-glibc.c
index 60558a870b9..fe38ddef395 100644
--- a/gcc/testsuite/gcc.dg/analyzer/pipe-glibc.c
+++ b/gcc/testsuite/gcc.dg/analyzer/pipe-glibc.c
@@ -1,6 +1,7 @@
-/* Example of pipe usage from glibc manual.  */
-
 /* { dg-skip-if "" { "avr-*-*" } } */
+/* { dg-require-fork "" } */
+
+/* Example of pipe usage from glibc manual.  */
 
 #include <sys/types.h>
 #include <unistd.h>
diff --git a/gcc/testsuite/gcc.dg/analyzer/pipe-manpages.c b/gcc/testsuite/gcc.dg/analyzer/pipe-manpages.c
index 6b9ae4d2602..ac5805fdba0 100644
--- a/gcc/testsuite/gcc.dg/analyzer/pipe-manpages.c
+++ b/gcc/testsuite/gcc.dg/analyzer/pipe-manpages.c
@@ -1,3 +1,5 @@
+/* { dg-require-fork "" } */
+
 /* Example of "pipe" from release 5.13 of the Linux man-pages project.
 
 Copyright (C) 2005, 2008, Michael Kerrisk <mtk.manpages@gmail.com>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-04-18 11:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-18 11:15 [gcc r14-10021] [testsuite] [analyzer] require fork where used Alexandre Oliva

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).