aboutsummaryrefslogtreecommitdiff
path: root/math/libm-test.inc
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-02-15 03:23:39 +0000
committerUlrich Drepper <drepper@redhat.com>2001-02-15 03:23:39 +0000
commitcd53c157cf172ebb61f9298e3c389ae84dbc0429 (patch)
treef207ad27dbf9d1336a970c22e0755701e5ea1a38 /math/libm-test.inc
parent36874b2165b088f18403e49951c4b6a78d311ac0 (diff)
downloadglibc-cd53c157cf172ebb61f9298e3c389ae84dbc0429.tar
glibc-cd53c157cf172ebb61f9298e3c389ae84dbc0429.tar.gz
glibc-cd53c157cf172ebb61f9298e3c389ae84dbc0429.tar.bz2
glibc-cd53c157cf172ebb61f9298e3c389ae84dbc0429.zip
Update.
* math/libm-test.inc (j0_test): Check whether sincos is available. (j1_test): Likewise. (jn_test): Likewise. (y0_test): Likewise. (y1_test): Likewise. (yn_test): Likewise. * posix/tst-gnuglob.c: Make a few entries DT_UNKNOWN and teach fake filesystem routines to handle this.
Diffstat (limited to 'math/libm-test.inc')
-rw-r--r--math/libm-test.inc25
1 files changed, 25 insertions, 0 deletions
diff --git a/math/libm-test.inc b/math/libm-test.inc
index 6bbbff520b..89a21d37cc 100644
--- a/math/libm-test.inc
+++ b/math/libm-test.inc
@@ -2824,7 +2824,12 @@ isnormal_test (void)
static void
j0_test (void)
{
+ FLOAT s, c;
errno = 0;
+ FUNC (sincos) (0, &s, &c);
+ if (errno == ENOSYS)
+ /* Required function not implemented. */
+ return;
FUNC(j0) (0);
if (errno == ENOSYS)
/* Function not implemented. */
@@ -2853,6 +2858,10 @@ static void
j1_test (void)
{
errno = 0;
+ FUNC (sincos) (0, &s, &c);
+ if (errno == ENOSYS)
+ /* Required function not implemented. */
+ return;
FUNC(j1) (0);
if (errno == ENOSYS)
/* Function not implemented. */
@@ -2882,6 +2891,10 @@ static void
jn_test (void)
{
errno = 0;
+ FUNC (sincos) (0, &s, &c);
+ if (errno == ENOSYS)
+ /* Required function not implemented. */
+ return;
FUNC(jn) (1, 1);
if (errno == ENOSYS)
/* Function not implemented. */
@@ -4002,6 +4015,10 @@ static void
y0_test (void)
{
errno = 0;
+ FUNC (sincos) (0, &s, &c);
+ if (errno == ENOSYS)
+ /* Required function not implemented. */
+ return;
FUNC(y0) (1);
if (errno == ENOSYS)
/* Function not implemented. */
@@ -4031,6 +4048,10 @@ static void
y1_test (void)
{
errno = 0;
+ FUNC (sincos) (0, &s, &c);
+ if (errno == ENOSYS)
+ /* Required function not implemented. */
+ return;
FUNC(y1) (1);
if (errno == ENOSYS)
/* Function not implemented. */
@@ -4059,6 +4080,10 @@ static void
yn_test (void)
{
errno = 0;
+ FUNC (sincos) (0, &s, &c);
+ if (errno == ENOSYS)
+ /* Required function not implemented. */
+ return;
FUNC(yn) (1, 1);
if (errno == ENOSYS)
/* Function not implemented. */