linux/drivers/fpga/tests
Marco Pagani d783ed2f5f fpga: Simplify and improve fpga region test using deferred actions
Use deferred actions to simplify the test suite and avoid potential memory
leaks when test cases fail. Remove unnecessary calls to
kunit_device_unregister() since kunit devices are tied to the test context
and released by a deferred action when the test is completed.

Other changes: fix a typo by changing the test suite name to fpga_region in
the kunit_suite struct.

Signed-off-by: Marco Pagani <marpagan@redhat.com>
Acked-by: Xu Yilun <yilun.xu@intel.com>
Link: https://lore.kernel.org/r/20240725125031.308195-4-marpagan@redhat.com
Signed-off-by: Xu Yilun <yilun.xu@linux.intel.com>
2024-08-14 23:51:04 +08:00
..
.kunitconfig
fpga-bridge-test.c fpga: Simplify and improve fpga bridge test using deferred actions 2024-08-14 23:51:03 +08:00
fpga-mgr-test.c fpga: Simplify and improve fpga mgr test using deferred actions 2024-08-14 23:50:01 +08:00
fpga-region-test.c fpga: Simplify and improve fpga region test using deferred actions 2024-08-14 23:51:04 +08:00
Kconfig
Makefile