diff options
author | David Gow <davidgow@google.com> | 2022-07-09 11:19:59 +0800 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2022-07-11 17:13:21 -0600 |
commit | 635dcd16844b08adcc1aa7a934893e47260619e4 (patch) | |
tree | 22596dfe58473df15eb6d0df4a977dee130d6e0d /drivers/virt | |
parent | e5857d396f35e59e6fe96cf1178b0357cc3a1ea4 (diff) | |
download | linux-635dcd16844b08adcc1aa7a934893e47260619e4.tar.gz linux-635dcd16844b08adcc1aa7a934893e47260619e4.tar.bz2 linux-635dcd16844b08adcc1aa7a934893e47260619e4.zip |
thunderbolt: test: Use kunit_test_suite() macro
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@linux.intel.com>
Acked-by: Daniel Latypov <dlatypov@google.com>
Acked-by: Brendan Higgins <brendanhiggins@google.com>
Signed-off-by: David Gow <davidgow@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'drivers/virt')
0 files changed, 0 insertions, 0 deletions