aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-05-15 10:42:18 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-05-15 10:42:18 +0000
commit5575c0e5cd6933895bfca4d966c2466939a7525b (patch)
tree45207785d81c0b344fb0d46c0a175fea65bc6a03
parentd369f53178a64e2f1ff980bad590da211174df69 (diff)
downloadglibc-5575c0e5cd6933895bfca4d966c2466939a7525b.tar
glibc-5575c0e5cd6933895bfca4d966c2466939a7525b.tar.gz
glibc-5575c0e5cd6933895bfca4d966c2466939a7525b.tar.bz2
glibc-5575c0e5cd6933895bfca4d966c2466939a7525b.zip
Disable libm-test errno testing for TEST_INLINE.
-rw-r--r--ChangeLog3
-rw-r--r--math/libm-test.inc2
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 2bd52e06eb..65bd57e7d4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2013-05-15 Joseph Myers <joseph@codesourcery.com>
+ * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
+ function contents.
+
* math/libm-test.inc (struct test_ff_i_data): New type.
(RUN_TEST_LOOP_ff_i_tg): New macro.
(isgreater_test_data): New variable.
diff --git a/math/libm-test.inc b/math/libm-test.inc
index 59e3292178..cd03ae6662 100644
--- a/math/libm-test.inc
+++ b/math/libm-test.inc
@@ -560,6 +560,7 @@ static void
test_single_errno (const char *test_name, int errno_value,
int expected_value, const char *expected_name)
{
+#ifndef TEST_INLINE
if (errno_value == expected_value)
{
if (print_screen (1))
@@ -573,6 +574,7 @@ test_single_errno (const char *test_name, int errno_value,
printf ("Failure: %s: errno set to %d, expected %d (%s)\n",
test_name, errno_value, expected_value, expected_name);
}
+#endif
}
/* Test whether errno (value ERRNO_VALUE) has been for TEST_NAME set