From: Marco Pagani <marpagan@redhat.com>
To: Moritz Fischer <mdf@kernel.org>, Wu Hao <hao.wu@intel.com>,
Xu Yilun <yilun.xu@intel.com>, Tom Rix <trix@redhat.com>
Cc: Marco Pagani <marpagan@redhat.com>,
linux-kernel@vger.kernel.org, linux-fpga@vger.kernel.org
Subject: [PATCH 0/3] Simplify and improve fpga test suites using deferred actions
Date: Thu, 25 Jul 2024 14:50:28 +0200 [thread overview]
Message-ID: <20240725125031.308195-1-marpagan@redhat.com> (raw)
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
next reply other threads:[~2024-07-25 12:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-25 12:50 Marco Pagani [this message]
2024-07-25 12:50 ` [PATCH 1/3] Simplify and improve the fpga manager test suite " Marco Pagani
2024-07-25 12:50 ` [PATCH 2/3] Simplify and improve the fpga bridge " Marco Pagani
2024-07-25 12:50 ` [PATCH 3/3] Simplify and improve the fpga region " Marco Pagani
2024-08-15 3:01 ` [PATCH 0/3] Simplify and improve fpga test suites " Xu Yilun
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240725125031.308195-1-marpagan@redhat.com \
--to=marpagan@redhat.com \
--cc=hao.wu@intel.com \
--cc=linux-fpga@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mdf@kernel.org \
--cc=trix@redhat.com \
--cc=yilun.xu@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®