... turns out, something insane is going on with name: if I use
*c99_math anywhere the dg-require is totally ignored. For the time being
I'm simply renaming everything per the below.
Paolo.
//////////////////
2011-03-19 Paolo Carlini <paolo.carl...@oracle.com>
* testsuite/lib/libstdc++.exp (check_v3_target_c99_math): Rename
to check_v3_target_cmath.
* testsuite/lib/dg-options.exp (dg-require-c99_math): Rename
to dg-require-cmath.
* testsuite/26_numerics/random/binomial_distribution/
operators/values.cc: Adjust.
Index: testsuite/26_numerics/random/binomial_distribution/operators/values.cc
===================================================================
--- testsuite/26_numerics/random/binomial_distribution/operators/values.cc
(revision 171183)
+++ testsuite/26_numerics/random/binomial_distribution/operators/values.cc
(working copy)
@@ -1,6 +1,6 @@
// { dg-options "-std=gnu++0x" }
// { dg-require-cstdint "" }
-// { dg-require-c99_math "" }
+// { dg-require-cmath "" }
//
// Copyright (C) 2011 Free Software Foundation, Inc.
//
Index: testsuite/lib/libstdc++.exp
===================================================================
--- testsuite/lib/libstdc++.exp (revision 171183)
+++ testsuite/lib/libstdc++.exp (working copy)
@@ -1146,7 +1146,7 @@
return $et_cstdint
}
-proc check_v3_target_c99_math { } {
+proc check_v3_target_cmath { } {
global cxxflags
global DEFAULT_CXXFLAGS
global et_c99_math
Index: testsuite/lib/dg-options.exp
===================================================================
--- testsuite/lib/dg-options.exp (revision 171183)
+++ testsuite/lib/dg-options.exp (working copy)
@@ -107,8 +107,8 @@
return
}
-proc dg-require-c99_math { args } {
- if { ![ check_v3_target_c99_math ] } {
+proc dg-require-cmath { args } {
+ if { ![ check_v3_target_cmath ] } {
upvar dg-do-what dg-do-what
set dg-do-what [list [lindex ${dg-do-what} 0] "N" "P"]
return