curl / Mailing Lists / curl-users / Single Mail


Re: 'make test' without Valgrind?

From: Daniel Stenberg <>
Date: Thu, 7 Mar 2019 09:34:00 +0100 (CET)

On Thu, 7 Mar 2019, Jeffrey Walton wrote:

> I'd like to run 'make test' but without Valgrind. -march=native produces too
> many findings (and they are probably incorrect due to -O3).

There should be no valgrind errors no matter the optimization level, unless
you're using OpenSSL before 1.1.0 since they had a messy situation before

> How can I run the test suite without Valgrind?

By passing -n to the runtests program, which might be easiest to do like this:

   $ make TFLAGS=-n test

Received on 2019-03-07