[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: valgrind-tests.m4
From: |
Simon Josefsson |
Subject: |
Re: valgrind-tests.m4 |
Date: |
Mon, 17 May 2010 21:04:06 +0200 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux) |
Ben Pfaff <address@hidden> writes:
> Simon Josefsson <address@hidden> writes:
>
>> Ben Pfaff <address@hidden> writes:
>>
>>> Simon Josefsson <address@hidden> writes:
>>>
>>>> I'm running self-tests under valgrind in several projects, and it seems
>>>> like a general useful thing, so how about putting the macro for this in
>>>> gnulib?
>>>
>>> It looks like this implementation requires rerunning "configure"
>>> to run tests under valgrind. If that's right, it seems
>>> inconvenient.
>>
>> I don't think that is right -- configure will detect valgrind if
>> available and setup the variable. Depending on how the maintainer set
>> things up, tests will be run under valgrind by default. To run self
>> checks without valgrind temporarily, just do 'make check VALGRIND='.
>> There is no need to rerun configure.
>
> Thanks for the explanation. At a glance, I had the impression
> that to run the tests with valgrind I had to rerun configure with
> --enable-valgrind.
Nope, it is only for --disable-valgrind-tests, for those people who want
to disable use of valgrind unconditionally (people have asked for it so
I added it).
/Simon
- valgrind-tests.m4, Simon Josefsson, 2010/05/17
- Re: valgrind-tests.m4, Ralf Wildenhues, 2010/05/17
- Re: valgrind-tests.m4, Simon Josefsson, 2010/05/17
- Re: valgrind-tests.m4, Ralf Wildenhues, 2010/05/17
- Re: valgrind-tests.m4, Simon Josefsson, 2010/05/18
- Re: valgrind-tests.m4, Ralf Wildenhues, 2010/05/19
- Re: valgrind-tests.m4, Simon Josefsson, 2010/05/19
- Re: valgrind-tests.m4, Ralf Wildenhues, 2010/05/20