On Sat, Feb 15, 2025 at 4:03 AM David Gow wrote:
>
> On Fri, 14 Feb 2025 at 22:41, Tamir Duberstein wrote:
> >
> > On Fri, Feb 14, 2025 at 2:42 AM David Gow wrote:
> > >
> > > From: José Expósito
> > >
> > > In some cases, we need to call test-only code from outside the test
> > > case, for exa
On Fri, 14 Feb 2025 at 22:41, Tamir Duberstein wrote:
>
> On Fri, Feb 14, 2025 at 2:42 AM David Gow wrote:
> >
> > From: José Expósito
> >
> > In some cases, we need to call test-only code from outside the test
> > case, for example, to mock a function or a module.
> >
> > In order to check whet
On Fri, Feb 14, 2025 at 2:42 AM David Gow wrote:
>
> From: José Expósito
>
> In some cases, we need to call test-only code from outside the test
> case, for example, to mock a function or a module.
>
> In order to check whether we are in a test or not, we need to test if
> `CONFIG_KUNIT` is set.
From: José Expósito
In some cases, we need to call test-only code from outside the test
case, for example, to mock a function or a module.
In order to check whether we are in a test or not, we need to test if
`CONFIG_KUNIT` is set.
Unfortunately, we cannot rely only on this condition because:
-
4 matches
Mail list logo