[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: memcmp-tests module
From: |
Simon Josefsson |
Subject: |
Re: memcmp-tests module |
Date: |
Tue, 20 May 2008 13:00:15 +0200 |
User-agent: |
Gnus/5.110009 (No Gnus v0.9) Emacs/22.2 (gnu/linux) |
Bruno Haible <address@hidden> writes:
> Simon Josefsson wrote:
>> The first part of this was adding a self-test for memcmp.
>> I'm sure it can be improved to test more corner cases, but this is much
>> better than nothing. Pushed.
>
> It's good habit to include the tests from the autoconf macro also in the test
> suite (to verify that the autoconf macro actually did its job). So I added
> this:
>
>
> 2008-05-20 Bruno Haible <address@hidden>
>
> * tests/test-memcmp.c (main): Test also the sign of the result. Test
> against two known bugs; code taken from autoconf's AC_FUNC_MEMCMP.
Thanks! FWIW, that updated self test works fine under mingw even
without the gnulib memcmp (using the patch I sent earlier).
/Simon
Re: rpl_memcmp on mingw with g++?, Bruno Haible, 2008/05/20