]> sourceware.org Git - glibc.git/commitdiff
Disable libm-test errno testing for TEST_INLINE.
authorJoseph Myers <joseph@codesourcery.com>
Wed, 15 May 2013 10:42:18 +0000 (10:42 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Wed, 15 May 2013 10:42:18 +0000 (10:42 +0000)
ChangeLog
math/libm-test.inc

index 2bd52e06eb8ff53903eb9c136b44f297a0711195..65bd57e7d449c4f8f1cf750b294fd0e72b217990 100644 (file)
--- 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.
index 59e3292178127d4d702d953324d7e026dd287f09..cd03ae66622fe9f56d0a67c4a03271d5a4dbce57 100644 (file)
@@ -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
This page took 0.150723 seconds and 5 git commands to generate.