curl / Mailing Lists / curl-users / Single Mail

curl-users

Re: 'make test' without Valgrind?

From: Jeffrey Walton <noloader_at_gmail.com>
Date: Sat, 9 Mar 2019 05:44:19 -0500

On Thu, Mar 7, 2019 at 1:56 PM Daniel Stenberg <daniel_at_haxx.se> wrote:
>
> On Thu, 7 Mar 2019, Jeffrey Walton wrote:
>
> > How can I get the output of stdout and stderr after the test is run?
>
> Then you have to invoke a single test and ask it to keep the logs even if
> successful. Keep the logs from test 1:
>
> $ cd tests
> $ ./runtests.pl -k 1

Thanks Daniel. One last question.

When 'make test' runs and I see the output below:

    *****************************************
    test 0001...OK (1 out of 1217, remaining: 41:38)
    test 0002...OK (2 out of 1217, remaining: 21:41)
    test 0003...OK (3 out of 1217, remaining: 14:37)
    ...

Am I also seeing stdout and stderr? (And there happens to be no output).

If the test does not swallow stdout and stderr, then everything is
fine. If stdout and stderr are being redirected to /dev/null, then
I'll need to undo that.

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