Mercurial > hg > octave-kai > gnulib-hg
changeset 16161:c05271feab75
nonblocking tests: Fix test failure on Linux/MIPS.
Suggested by Prerna Saxena in
<http://lists.gnu.org/archive/html/bug-gnulib/2011-12/msg00080.html>.
* tests/test-nonblocking-pipe.h (PIPE_DATA_BLOCK_SIZE) [Linux/PPC64]:
Set to 1100000.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Mon, 12 Dec 2011 08:13:33 -0800 |
parents | 26326fda1844 |
children | 9b85ab4a57db |
files | ChangeLog tests/test-nonblocking-pipe.h |
diffstat | 2 files changed, 11 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2011-12-12 Paul Eggert <eggert@cs.ucla.edu> + + nonblocking tests: Fix test failure on Linux/MIPS. + Suggested by Prerna Saxena in + <http://lists.gnu.org/archive/html/bug-gnulib/2011-12/msg00080.html>. + * tests/test-nonblocking-pipe.h (PIPE_DATA_BLOCK_SIZE) [Linux/PPC64]: + Set to 1100000. + 2011-12-12 Jim Meyering <meyering@redhat.com> argmatch: don't hard-code `' when listing valid option arguments
--- a/tests/test-nonblocking-pipe.h +++ b/tests/test-nonblocking-pipe.h @@ -23,6 +23,7 @@ Linux >= 63489 Linux/SPARC >= 126977 Linux/IA-64, Linux/MIPS >= 253953 + Linux/PPC64 >= 1048576 FreeBSD, OpenBSD, MacOS X >= 65537 AIX >= 32769 HP-UX >= 8193 @@ -37,6 +38,8 @@ # define PIPE_DATA_BLOCK_SIZE 270000 #elif defined __linux__ && defined __sparc__ # define PIPE_DATA_BLOCK_SIZE 140000 +#elif defined __linux__ && defined __powerpc__ +# define PIPE_DATA_BLOCK_SIZE 1100000 #else # define PIPE_DATA_BLOCK_SIZE 70000 #endif