nonblocking tests: Fix test failure on Linux/SPARC (32-bit and 64-bit).
authorBruno Haible <bruno@clisp.org>
Fri, 30 Sep 2011 15:44:22 +0000 (17:44 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 30 Sep 2011 15:44:22 +0000 (17:44 +0200)
* tests/test-nonblocking-pipe.h (PIPE_DATA_BLOCK_SIZE) [Linux/SPARC]:
Set to 140000.

ChangeLog
tests/test-nonblocking-pipe.h

index 9e0f714..f4858d5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2011-09-30  Bruno Haible  <bruno@clisp.org>
 
+       nonblocking tests: Fix test failure on Linux/SPARC (32-bit and 64-bit).
+       * tests/test-nonblocking-pipe.h (PIPE_DATA_BLOCK_SIZE) [Linux/SPARC]:
+       Set to 140000.
+
+2011-09-30  Bruno Haible  <bruno@clisp.org>
+
        gnulib-tool: Improve suggestion where to put gl_EARLY invocation.
        * gnulib-tool (func_import): If the configure.ac has an AC_PROG_CC_STDC
        invocation, say "right after AC_PROG_CC_STDC", not "right after
index c4e6561..5e93199 100644 (file)
@@ -21,6 +21,7 @@
      Platform                        PIPE_DATA_BLOCK_SIZE
 
      Linux                           >= 63489
+     Linux/SPARC                     >= 126977
      FreeBSD, OpenBSD, MacOS X       >= 65537
      AIX                             >= 32769
      HP-UX                           >= 8193
@@ -33,6 +34,8 @@
  */
 #if defined __osf__
 # define PIPE_DATA_BLOCK_SIZE 270000
+#elif defined __linux__ && defined __sparc__
+# define PIPE_DATA_BLOCK_SIZE 140000
 #else
 # define PIPE_DATA_BLOCK_SIZE 70000
 #endif