Ben Pfaff <b...@cs.stanford.edu> writes:

> Simon Josefsson <si...@josefsson.org> writes:
>
>> Ben Pfaff <b...@cs.stanford.edu> writes:
>>
>>> Simon Josefsson <si...@josefsson.org> 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

Reply via email to