On Tue, Jun 21, 2022 at 1:54 AM David Gow <davidgow@xxxxxxxxxx> wrote: > > The new implementation of kunit_test_suite() for modules no longer > conflicts with module_init, so can now be used by the thunderbolt tests. > > Also update the Kconfig entry to enable the test when KUNIT_ALL_TESTS is > enabled. > > This means that kunit_tool can now successfully run and parse the test > results with, for example: > ./tools/testing/kunit/kunit.py run --arch=x86_64 \ > --kconfig_add CONFIG_PCI=y --kconfig_add CONFIG_USB4=y \ > 'thunderbolt' With this, we can maybe revive https://lore.kernel.org/lkml/20220214184104.1710107-1-dlatypov@xxxxxxxxxx by tacking it onto this series if a v3 goes out. There is the open question of whether we should put UML-specific config options in the file, though. If we decide we don't want that, then we can defer it until I send out the patches for "repeatable --kunitconfig" and we can add the uml_pci.config file. > > Acked-by: Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx> > Signed-off-by: David Gow <davidgow@xxxxxxxxxx> Acked-by: Daniel Latypov <dlatypov@xxxxxxxxxx> LGTM.