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

Brendan Higgins brendanhiggins at google.com
Thu Jul 7 07:19:54 AEST 2022


On Sat, Jun 25, 2022 at 1:10 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'
>
> Acked-by: Mika Westerberg <mika.westerberg at linux.intel.com>
> Acked-by: Daniel Latypov <dlatypov at google.com>
> Signed-off-by: David Gow <davidgow at google.com>

Acked-by: Brendan Higgins <brendanhiggins at google.com>


More information about the openbmc mailing list