diff options
author | redi <redi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-08-02 13:32:26 +0000 |
---|---|---|
committer | redi <redi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-08-02 13:32:26 +0000 |
commit | 47b096c51651c34695d69791ff4c6e5207adc9b4 (patch) | |
tree | 6181d61607813123f2920b8c450e6306d3fd6016 | |
parent | 3ab474eae4cbd48a847687bedde9b0cff06441e4 (diff) | |
download | gcc-47b096c51651c34695d69791ff4c6e5207adc9b4.tar.gz |
Skip C tests if test flags include C++ options
* testsuite/18_support/bad_exception/23591_thread-1.c: Skip test if
options are present that aren't valid for C.
* testsuite/abi/header_cxxabi.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@238988 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | libstdc++-v3/ChangeLog | 4 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/18_support/bad_exception/23591_thread-1.c | 1 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/abi/header_cxxabi.c | 1 |
3 files changed, 6 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 4e92bfffb51..e6c2912d2f2 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,9 @@ 2016-08-02 Jonathan Wakely <jwakely@redhat.com> + * testsuite/18_support/bad_exception/23591_thread-1.c: Skip test if + options are present that aren't valid for C. + * testsuite/abi/header_cxxabi.c: Likewise. + * testsuite/tr1/5_numerical_facilities/special_functions/16_hermite/ check_value.cc: Do not add special functions to namespace std in TR1 test. diff --git a/libstdc++-v3/testsuite/18_support/bad_exception/23591_thread-1.c b/libstdc++-v3/testsuite/18_support/bad_exception/23591_thread-1.c index fd1a76cbd31..6e5138b27d9 100644 --- a/libstdc++-v3/testsuite/18_support/bad_exception/23591_thread-1.c +++ b/libstdc++-v3/testsuite/18_support/bad_exception/23591_thread-1.c @@ -1,4 +1,5 @@ // { dg-require-sharedlib "" } +// { dg-skip-if "invalid options for C" { *-*-* } { "-std=c++??" "-std=gnu++??" } } // { dg-options "-g -O2 -pthread -ldl -x c -fvtable-verify=none -Wno-pedantic" { target *-*-linux* *-*-gnu* *-*-solaris2.1[2-9]* } } // Copyright (C) 2005-2016 Free Software Foundation, Inc. diff --git a/libstdc++-v3/testsuite/abi/header_cxxabi.c b/libstdc++-v3/testsuite/abi/header_cxxabi.c index b424d8f8a99..3b1a7dceda2 100644 --- a/libstdc++-v3/testsuite/abi/header_cxxabi.c +++ b/libstdc++-v3/testsuite/abi/header_cxxabi.c @@ -1,4 +1,5 @@ // { dg-do compile } +// { dg-skip-if "invalid options for C" { *-*-* } { "-std=c++??" "-std=gnu++??" } } // { dg-options "-x c" } // Copyright (C) 2006-2016 Free Software Foundation, Inc. // |