Simon Josefsson <[email protected]> writes: > Ben Pfaff <[email protected]> writes: > >> Simon Josefsson <[email protected]> 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
