Fix failing tests caused by duplicate dg-options

* testsuite/special_functions/18_riemann_zeta/check_value.cc: Fix
	duplicate dg-options directive.
	* testsuite/tr1/5_numerical_facilities/special_functions/
	20_riemann_zeta/check_value_neg.cc: Likewise.

From-SVN: r254971
This commit is contained in:
Jonathan Wakely 2017-11-20 21:48:31 +00:00 committed by Jonathan Wakely
parent 49e68526ab
commit 9be0a9d6d2
3 changed files with 9 additions and 20 deletions

View File

@ -1,3 +1,10 @@
2017-11-20 Jonathan Wakely <jwakely@redhat.com>
* testsuite/special_functions/18_riemann_zeta/check_value.cc: Fix
duplicate dg-options directive.
* testsuite/tr1/5_numerical_facilities/special_functions/
20_riemann_zeta/check_value_neg.cc: Likewise.
2017-11-20 Ville Voutilainen <ville.voutilainen@gmail.com>
Implement LWG 2353

View File

@ -21,7 +21,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<double>))
@ -111,15 +111,6 @@ data001[55] =
{ -4.4375384158955686, 0.80000000000000071, 0.0 },
};
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<double>))
#endif
// Test data.
// max(|f - f_Boost|): 8.8817841970012523e-16 at index 1

View File

@ -21,7 +21,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<double>))
@ -111,15 +111,6 @@ data001[55] =
{ -4.4375384158955686, 0.80000000000000071, 0.0 },
};
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<double>))
#endif
// Test data.
// max(|f - f_Boost|): 8.8817841970012523e-16 at index 1