Re: [RFC/RFT PATCH 09/15] crypto: testmgr - introduce CONFIG_CRYPTO_MANAGER_EXTRA_TESTS

From: Eric Biggers
Date: Fri Feb 01 2019 - 02:00:39 EST


On Fri, Feb 01, 2019 at 01:31:46PM +0800, Herbert Xu wrote:
> On Wed, Jan 23, 2019 at 02:49:20PM -0800, Eric Biggers wrote:
> >
> > diff --git a/crypto/Kconfig b/crypto/Kconfig
> > index 86960aa53e0f..cbeba16fd8c1 100644
> > --- a/crypto/Kconfig
> > +++ b/crypto/Kconfig
> > @@ -168,6 +168,16 @@ config CRYPTO_MANAGER_DISABLE_TESTS
> > Disable run-time self tests that normally take place at
> > algorithm registration.
> >
> > +config CRYPTO_MANAGER_EXTRA_TESTS
> > + bool "Enable extra run-time crypto self tests"
> > + depends on !CRYPTO_MANAGER_DISABLE_TESTS
>
> Perhaps add a dependency on DEBUG_KERNEL so we don't bother people
> who don't care?
>

Yes, I'll do that.

- Eric