[PATCH 3/5] thunderbolt: test: Use kunit_test_suite() macro
Mika Westerberg
mika.westerberg at linux.intel.com
Mon Jun 20 15:05:46 AEST 2022
On Sat, Jun 18, 2022 at 05:03:08PM +0800, David Gow 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'
>
> Signed-off-by: David Gow <davidgow at google.com>
Acked-by: Mika Westerberg <mika.westerberg at linux.intel.com>
More information about the Linux-aspeed
mailing list