[PATCH 0/3] Simplify and improve fpga test suites using deferred actions

From: Marco Pagani
Date: Thu Jul 25 2024 - 08:50:46 EST


Use deferred actions to simplify fpga test suites and avoid potential
memory leaks when test cases fail. Deferred actions are executed when a
test is completed either successfully or unsuccessfully (e.g., due to a
failed assertion).

Marco Pagani (3):
Simplify and improve the fpga manager test suite using deferred
actions
Simplify and improve the fpga bridge test suite using deferred actions
Simplify and improve the fpga region test suite using deferred actions

drivers/fpga/tests/fpga-bridge-test.c | 25 +++++++---------
drivers/fpga/tests/fpga-mgr-test.c | 28 +++++++++++-------
drivers/fpga/tests/fpga-region-test.c | 41 ++++++++++++++++-----------
3 files changed, 52 insertions(+), 42 deletions(-)


base-commit: 3a0fa8e97d3024de199634667900b6a90bbe43d0
--
2.45.2