[PATCH] Add valgrind smoke test

Joseph Myers joseph@codesourcery.com
Mon Jun 28 18:33:03 GMT 2021


On Mon, 28 Jun 2021, Florian Weimer via Libc-alpha wrote:

> Would it be okay to run these tests only if $(run-built-tests) is yes,
> $(cross-compiling) is no, and configure had found a valgrind binary?

We've got rid of the vast bulk of $(cross-compiling) conditionals that 
actually change what's built, tested or installed; I don't like the idea 
of adding more, when we already have an example of a test that deals with 
checking whether a given command (gdb in that case) is available before 
running it.

(And you can't avoid the issue of /usr/bin/true possibly not existing or 
having the wrong ABI in any case.)

-- 
Joseph S. Myers
joseph@codesourcery.com


More information about the Libc-alpha mailing list