From: Bruno Haible Date: Fri, 30 Sep 2011 15:44:22 +0000 (+0200) Subject: nonblocking tests: Fix test failure on Linux/SPARC (32-bit and 64-bit). X-Git-Tag: v0.1~1724 X-Git-Url: http://erislabs.net/gitweb/?a=commitdiff_plain;h=8a8ac81fa2cfdf94f5e696d391dd43adeca18071;p=gnulib.git 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. --- diff --git a/ChangeLog b/ChangeLog index 9e0f7143b..f4858d513 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2011-09-30 Bruno Haible + 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 + 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 diff --git a/tests/test-nonblocking-pipe.h b/tests/test-nonblocking-pipe.h index c4e65616a..5e9319987 100644 --- a/tests/test-nonblocking-pipe.h +++ b/tests/test-nonblocking-pipe.h @@ -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