diff options
author | Alexandre Oliva <oliva@adacore.com> | 2022-03-29 22:47:19 -0300 |
---|---|---|
committer | Alexandre Oliva <oliva@gnu.org> | 2022-03-29 22:47:19 -0300 |
commit | e3d2b0d040e9baf6c0548b865ed5244dec464cc1 (patch) | |
tree | d84b6cfdfe546ae306593f19679835f94d7d8739 | |
parent | a5a8d512782cf4765cf17fc79dd7ecc2a392e0a9 (diff) | |
download | gcc-e3d2b0d040e9baf6c0548b865ed5244dec464cc1.zip gcc-e3d2b0d040e9baf6c0548b865ed5244dec464cc1.tar.gz gcc-e3d2b0d040e9baf6c0548b865ed5244dec464cc1.tar.bz2 |
analyzer/strndup-1.c: skip on *-*-vxworks*
Add vxworks to the set of operating systems whose C libraries don't
support strndup.
for gcc/testsuite/ChangeLog
* gcc.dg/analyzer/strndup-1.c: Add *-*-vxworks* to no-strndup
in libc.
-rw-r--r-- | gcc/testsuite/gcc.dg/analyzer/strndup-1.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/analyzer/strndup-1.c b/gcc/testsuite/gcc.dg/analyzer/strndup-1.c index edf494a..8cf7a42 100644 --- a/gcc/testsuite/gcc.dg/analyzer/strndup-1.c +++ b/gcc/testsuite/gcc.dg/analyzer/strndup-1.c @@ -1,4 +1,5 @@ -/* { dg-skip-if "no strndup in libc" { *-*-darwin[789]* *-*-darwin10* *-*-mingw* } } */ +/* { dg-skip-if "no strndup in libc" { *-*-darwin[789]* *-*-darwin10* *-*-mingw* *-*-vxworks* } } */ + #include <string.h> #include <stdlib.h> |