[PATCH v2 3/5] thunderbolt: test: Use kunit_test_suite() macro

Daniel Latypov dlatypov at google.com
Wed Jun 22 06:23:04 AEST 2022

On Tue, Jun 21, 2022 at 1:54 AM David Gow <davidgow at google.com> 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
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 at linux.intel.com>
> Signed-off-by: David Gow <davidgow at google.com>

Acked-by: Daniel Latypov <dlatypov at google.com>


More information about the openbmc mailing list