bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: valgrind-tests.m4


From: Ben Pfaff
Subject: Re: valgrind-tests.m4
Date: Mon, 17 May 2010 11:30:23 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

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.
-- 
"Sanity is not statistical."
--George Orwell



reply via email to

[Prev in Thread] Current Thread [Next in Thread]