public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
To: openembedded-core@lists.openembedded.org
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
	 Joshua Watt <jpewhacker@gmail.com>,
	 Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Subject: [PATCH v2 0/2] oeqa: runtime: Clean setup/tear down function on weston and logrotate
Date: Thu, 16 Oct 2025 09:50:24 +0200	[thread overview]
Message-ID: <20251016-mathieu-test-clean-setup-v2-0-c4295b9334b8@bootlin.com> (raw)

This was discussed on my previous series, introducing a new error on SSH
connection failure during tests: setup and tear down functions should
only do simple operations and not try to interact with the target.

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
---
Changes in v2:
- Use addCleanup() method to remove files. I clearly prefer this version
  for the logrotate tests. I'm not so sure about the weston tests, as
  some file is expected to be kept across tests in some situation and so
  lead to some strange logic in my changes.
- Link to v1: https://lore.kernel.org/r/20251013-mathieu-test-clean-setup-v1-0-6cea9936d79b@bootlin.com

---
Mathieu Dubois-Briand (2):
      oeqa: runtime: logrotate: Remove setup and tear down methods
      oeqa: runtime: weston: Remove tear down method

 meta/lib/oeqa/runtime/cases/logrotate.py | 19 ++++++++-----------
 meta/lib/oeqa/runtime/cases/weston.py    |  9 +++++----
 2 files changed, 13 insertions(+), 15 deletions(-)
---
base-commit: d098b35cfc3098448bd81245f9593fcd728e4b20
change-id: 20251013-mathieu-test-clean-setup-6eec6fcc734d

Best regards,
-- 
Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>



             reply	other threads:[~2025-10-16  7:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-16  7:50 Mathieu Dubois-Briand [this message]
2025-10-16  7:50 ` [PATCH v2 1/2] oeqa: runtime: logrotate: Remove setup and tear down methods Mathieu Dubois-Briand
2025-10-16  7:50 ` [PATCH v2 2/2] oeqa: runtime: weston: Remove tear down method Mathieu Dubois-Briand

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=20251016-mathieu-test-clean-setup-v2-0-c4295b9334b8@bootlin.com \
    --to=mathieu.dubois-briand@bootlin.com \
    --cc=jpewhacker@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=thomas.petazzoni@bootlin.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