[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Wed, 9 Sep 2020 13:00:46 +1000
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Qian Cai <cai@....pw>
Cc: skhan@...uxfoundation.org, brendanhiggins@...gle.com,
urielguajardo@...gle.com, linux-kernel@...r.kernel.org,
linux-kselftest@...r.kernel.org, kunit-dev@...glegroups.com,
linux-next@...r.kernel.org
Subject: Re: [PATCH 2/2] kunit: ubsan integration
Hi Qian,
On Thu, 3 Sep 2020 08:38:25 -0400 Qian Cai <cai@....pw> wrote:
>
> On Wed, Sep 02, 2020 at 08:52:24AM -0400, Qian Cai wrote:
> > On Thu, Aug 06, 2020 at 05:43:26PM +0000, Uriel Guajardo wrote:
> > > Integrates UBSAN into the KUnit testing framework. It fails KUnit tests
> > > whenever it reports undefined behavior.
> > >
> > > Signed-off-by: Uriel Guajardo <urielguajardo@...gle.com>
> >
> > It looks like this patch had been merged into linux-next but the "[PATCH 1/2]
> > kunit: support failure from dynamic analysis tools" did not. Hence, it caused a
> > compiling failure.
> >
> > lib/ubsan.c: In function ‘ubsan_prologue’:
> > lib/ubsan.c:141:2: error: implicit declaration of function ‘kunit_fail_current_test’; did you mean ‘kunit_init_test’? [-Werror=implicit-function-declaration]
> > kunit_fail_current_test();
> > ^~~~~~~~~~~~~~~~~~~~~~~
> > kunit_init_test
> > cc1: some warnings being treated as errors
>
> Stephen, Shuah, can you revert this commit or pick up its dependency as well?
Sorry, for the slow response ... this should be gone today.
--
Cheers,
Stephen Rothwell
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists