From: Mike Stump Date: Fri, 12 Feb 2016 21:23:11 +0000 (+0000) Subject: Fix FAIL: special_functions/18_riemann_zeta/check_value.cc (test for excess errors) X-Git-Tag: basepoints/gcc-7~968 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82f0f789179c77f5a1182f014096b42102ee4abe;p=thirdparty%2Fgcc.git Fix FAIL: special_functions/18_riemann_zeta/check_value.cc (test for excess errors) From-SVN: r233391 --- diff --git a/libstdc++-v3/testsuite/special_functions/18_riemann_zeta/check_value.cc b/libstdc++-v3/testsuite/special_functions/18_riemann_zeta/check_value.cc index d6b3171aa684..f84edd86bb8a 100644 --- a/libstdc++-v3/testsuite/special_functions/18_riemann_zeta/check_value.cc +++ b/libstdc++-v3/testsuite/special_functions/18_riemann_zeta/check_value.cc @@ -20,7 +20,7 @@ // riemann_zeta // This can take long on simulators, timing out the test. -// { dg-options "-DMAX_ITERATIONS=5" { target simulator } } +// { dg-additional-options "-DMAX_ITERATIONS=5" { target simulator } } #ifndef MAX_ITERATIONS #define MAX_ITERATIONS (sizeof(data001) / sizeof(testcase_riemann_zeta)) @@ -109,9 +109,6 @@ data001[55] = const double toler001 = 2.5000000000000020e-13; // riemann_zeta -// This can take long on simulators, timing out the test. -// { dg-options "-DMAX_ITERATIONS=5" { target simulator } } - #ifndef MAX_ITERATIONS #define MAX_ITERATIONS (sizeof(data001) / sizeof(testcase_riemann_zeta)) #endif