[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190211130202.GB22391@sirena.org.uk>
Date: Mon, 11 Feb 2019 13:02:02 +0000
From: Mark Brown <broonie@...nel.org>
To: Ingo Molnar <mingo@...nel.org>
Cc: Shuah Khan <shuah@...nel.org>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>,
"H . Peter Anvin" <hpa@...or.com>,
Andy Lutomirski <luto@...capital.net>,
linux-kernel@...r.kernel.org, x86@...nel.org,
linux-kselftest@...r.kernel.org
Subject: Re: [PATCH 1/2] selftests/x86/fsgsbase: Indirect output through a
wrapper function
On Mon, Feb 11, 2019 at 09:45:43AM +0100, Ingo Molnar wrote:
> * Mark Brown <broonie@...nel.org> wrote:
> > In preparation for a change to make this test run repeatedly which
> > would generate huge amounts of output as is indirect all the printf()
> > calls in the program through a wrapper and add a quiet flag which can
> > be used to suppress the output. This is fairly quick and dirty, I'm not
> > 100% sure what would be idiomatic here.
> So this really loses useful output when there is a failure. After this
> patch I get:
> dagon:~/tip/tools/testing/selftests/x86> ./fsgsbase_64 -vv
> [FAIL] 24 errors detected in 1 tries
> Not very helpful, and no real command-line way to see the failures.
For clarity it's the second patch that breaks this, though you're right
this isn't helpful and this patch needs a log level adding to really fix
that.
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists