curl / Mailing Lists / curl-users / Single Mail

curl-users

Re: 'make test' without Valgrind?

From: Daniel Stenberg <daniel_at_haxx.se>
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
then.

> 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

-- 
  / daniel.haxx.se
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2019-03-07