This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.19-278-g9c9daae


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  9c9daaeb83fc71655f37347112f56f1a1785681e (commit)
      from  95561fb9c55acccc2a5d5daac145fd3daeb27fa7 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=9c9daaeb83fc71655f37347112f56f1a1785681e

commit 9c9daaeb83fc71655f37347112f56f1a1785681e
Author: Chris Metcalf <cmetcalf@tilera.com>
Date:   Fri Apr 11 15:13:42 2014 -0400

    math: make test-fenv-preserve.c a no-op if FE_ALL_EXCEPT == 0.
    
    This fixes a testsuite failure for tile (and possibly microblaze).

diff --git a/ChangeLog b/ChangeLog
index 79d3dbf..f9df745 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
+
+	* math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
+	Make the test a no-op if there are no exceptions defined.
+
 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
 
 	* elf/Makefile (tests): make tst-dlopen-atout conditional on
diff --git a/math/test-fenv-preserve.c b/math/test-fenv-preserve.c
index 8288b2c..89f2e2b 100644
--- a/math/test-fenv-preserve.c
+++ b/math/test-fenv-preserve.c
@@ -22,6 +22,7 @@
 static int
 do_test (void)
 {
+#if FE_ALL_EXCEPT
   fenv_t env;
 
   if (feenableexcept (FE_INVALID) != 0)
@@ -47,6 +48,10 @@ do_test (void)
       printf ("fegetexcept returned %d, expected %d\n", ret, FE_INVALID);
       return 1;
     }
+#else
+  puts ("No exceptions defined, cannot test");
+  return 0;
+#endif
 }
 
 #define TEST_FUNCTION do_test ()

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                 |    5 +++++
 math/test-fenv-preserve.c |    5 +++++
 2 files changed, 10 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]