From 375eb99a558e4e90ddba2cda1b3066d3cabf80bc Mon Sep 17 00:00:00 2001 From: Iain Sandoe Date: Sun, 21 Apr 2019 08:14:47 +0000 Subject: [PATCH] libstdc++-v3 Skip tests on Darwin8-10. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit These earlier Darwin versions have “FP_≈” inside a comment in architecture/{ppc,i386}/math.h, which is included by math.h which causes the tests to fail. The intent of the tests (i.e. to ensure that the library itself does not emit non-ascii) is covered by other platforms, including later Darwin editions. 2019-04-21 Iain Sandoe * testsuite/17_intro/headers/c++1998/charset.cc: Skip for Darwin8 to Darwin10. * testsuite/17_intro/headers/c++2011/charset.cc: Likewise. * testsuite/17_intro/headers/c++2014/charset.cc: Likewise. * testsuite/17_intro/headers/c++2017/charset.cc: Likewise. * testsuite/17_intro/headers/c++2020/charset.cc: Likewise. From-SVN: r270479 --- libstdc++-v3/ChangeLog | 9 +++++++++ .../testsuite/17_intro/headers/c++1998/charset.cc | 1 + .../testsuite/17_intro/headers/c++2011/charset.cc | 1 + .../testsuite/17_intro/headers/c++2014/charset.cc | 1 + .../testsuite/17_intro/headers/c++2017/charset.cc | 1 + .../testsuite/17_intro/headers/c++2020/charset.cc | 1 + 6 files changed, 14 insertions(+) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index cd34f126fdb..af3372081b5 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,12 @@ +2019-04-21 Iain Sandoe + + * testsuite/17_intro/headers/c++1998/charset.cc: Skip for Darwin8 + to Darwin10. + * testsuite/17_intro/headers/c++2011/charset.cc: Likewise. + * testsuite/17_intro/headers/c++2014/charset.cc: Likewise. + * testsuite/17_intro/headers/c++2017/charset.cc: Likewise. + * testsuite/17_intro/headers/c++2020/charset.cc: Likewise. + 2019-04-20 Thomas Rodgers Delegate PSTL configuration to pstl/pstl_config.h diff --git a/libstdc++-v3/testsuite/17_intro/headers/c++1998/charset.cc b/libstdc++-v3/testsuite/17_intro/headers/c++1998/charset.cc index 864c64ef831..4425e1cf63e 100644 --- a/libstdc++-v3/testsuite/17_intro/headers/c++1998/charset.cc +++ b/libstdc++-v3/testsuite/17_intro/headers/c++1998/charset.cc @@ -1,4 +1,5 @@ // { dg-options "-finput-charset=ascii" } // { dg-do compile } +// { dg-skip-if "non-ascii in system headers" { *-*-darwin10* *-*-darwin[89]* } } #include diff --git a/libstdc++-v3/testsuite/17_intro/headers/c++2011/charset.cc b/libstdc++-v3/testsuite/17_intro/headers/c++2011/charset.cc index 864c64ef831..4425e1cf63e 100644 --- a/libstdc++-v3/testsuite/17_intro/headers/c++2011/charset.cc +++ b/libstdc++-v3/testsuite/17_intro/headers/c++2011/charset.cc @@ -1,4 +1,5 @@ // { dg-options "-finput-charset=ascii" } // { dg-do compile } +// { dg-skip-if "non-ascii in system headers" { *-*-darwin10* *-*-darwin[89]* } } #include diff --git a/libstdc++-v3/testsuite/17_intro/headers/c++2014/charset.cc b/libstdc++-v3/testsuite/17_intro/headers/c++2014/charset.cc index 864c64ef831..4425e1cf63e 100644 --- a/libstdc++-v3/testsuite/17_intro/headers/c++2014/charset.cc +++ b/libstdc++-v3/testsuite/17_intro/headers/c++2014/charset.cc @@ -1,4 +1,5 @@ // { dg-options "-finput-charset=ascii" } // { dg-do compile } +// { dg-skip-if "non-ascii in system headers" { *-*-darwin10* *-*-darwin[89]* } } #include diff --git a/libstdc++-v3/testsuite/17_intro/headers/c++2017/charset.cc b/libstdc++-v3/testsuite/17_intro/headers/c++2017/charset.cc index 864c64ef831..4425e1cf63e 100644 --- a/libstdc++-v3/testsuite/17_intro/headers/c++2017/charset.cc +++ b/libstdc++-v3/testsuite/17_intro/headers/c++2017/charset.cc @@ -1,4 +1,5 @@ // { dg-options "-finput-charset=ascii" } // { dg-do compile } +// { dg-skip-if "non-ascii in system headers" { *-*-darwin10* *-*-darwin[89]* } } #include diff --git a/libstdc++-v3/testsuite/17_intro/headers/c++2020/charset.cc b/libstdc++-v3/testsuite/17_intro/headers/c++2020/charset.cc index 864c64ef831..4425e1cf63e 100644 --- a/libstdc++-v3/testsuite/17_intro/headers/c++2020/charset.cc +++ b/libstdc++-v3/testsuite/17_intro/headers/c++2020/charset.cc @@ -1,4 +1,5 @@ // { dg-options "-finput-charset=ascii" } // { dg-do compile } +// { dg-skip-if "non-ascii in system headers" { *-*-darwin10* *-*-darwin[89]* } } #include -- 2.30.2