summaryrefslogtreecommitdiff
path: root/drivers/fpga/tests/Kconfig
diff options
context:
space:
mode:
authorMarco Pagani <marpagan@redhat.com>2023-07-18 16:03:04 +0300
committerXu Yilun <yilun.xu@intel.com>2023-07-23 09:04:50 +0300
commit3969f6458f783d2b4b8b15bef1eeab674eaa34bd (patch)
treeee5e36756a6894917693b600f7a5c68e97b49beb /drivers/fpga/tests/Kconfig
parent64a5f972c93de1f31fdf828e38b763afb07acb5b (diff)
downloadlinux-3969f6458f783d2b4b8b15bef1eeab674eaa34bd.tar.xz
fpga: add configuration for the FPGA KUnit test suites.
Add configuration for the KUnit test suites for the core components of the FPGA subsystem. Signed-off-by: Marco Pagani <marpagan@redhat.com> Acked-by: Xu Yilun <yilun.xu@intel.com> Link: https://lore.kernel.org/r/20230718130304.87048-5-marpagan@redhat.com Signed-off-by: Xu Yilun <yilun.xu@intel.com>
Diffstat (limited to 'drivers/fpga/tests/Kconfig')
-rw-r--r--drivers/fpga/tests/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/fpga/tests/Kconfig b/drivers/fpga/tests/Kconfig
new file mode 100644
index 000000000000..e4a64815f16d
--- /dev/null
+++ b/drivers/fpga/tests/Kconfig
@@ -0,0 +1,11 @@
+config FPGA_KUNIT_TESTS
+ tristate "KUnit test for the FPGA subsystem" if !KUNIT_ALL_TESTS
+ depends on FPGA && FPGA_REGION && FPGA_BRIDGE && KUNIT=y
+ default KUNIT_ALL_TESTS
+ help
+ This builds unit tests for the FPGA subsystem
+
+ For more information on KUnit and unit tests in general,
+ please refer to the KUnit documentation in Documentation/dev-tools/kunit/.
+
+ If unsure, say N.