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: https://gitweb.git.savannah.gnu.org/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 9e0f7143b0..f4858d5136 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +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. diff --git a/tests/test-nonblocking-pipe.h b/tests/test-nonblocking-pipe.h index c4e65616a4..5e93199875 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