Re: [PATCH v6 linux-kselftest-test 0/6] kunit: support building core/tests as modules

From: shuah
Date: Mon Jan 06 2020 - 13:55:31 EST


Hi Alan,

On 12/4/19 8:27 AM, Alan Maguire wrote:
The current kunit execution model is to provide base kunit functionality
and tests built-in to the kernel. The aim of this series is to allow
building kunit itself and tests as modules. This in turn allows a
simple form of selective execution; load the module you wish to test.
In doing so, kunit itself (if also built as a module) will be loaded as
an implicit dependency.

Because this requires a core API modification - if a module delivers
multiple suites, they must be declared with the kunit_test_suites()
macro - we're proposing this patch set as a candidate to be applied to the
test tree before too many kunit consumers appear. We attempt to deal
with existing consumers in patch 3.

Changes since v5:
- fixed fs/ext4/Makefile to remove unneeded conditional compilation
(Iurii, patch 3)
- added Reviewed-by, Acked-by to patches 3, 4, 5 and 6


Are you planning to send v7 to address the kbuild issue? I can pull
them in for 5.6

thanks,
-- Shuah