public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] oeqa: runtime: Clean setup/tear down function on weston and logrotate
@ 2025-10-16  7:50 Mathieu Dubois-Briand
  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
  0 siblings, 2 replies; 3+ messages in thread
From: Mathieu Dubois-Briand @ 2025-10-16  7:50 UTC (permalink / raw)
  To: openembedded-core; +Cc: Thomas Petazzoni, Joshua Watt, Mathieu Dubois-Briand

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>



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-10-16  7:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-16  7:50 [PATCH v2 0/2] oeqa: runtime: Clean setup/tear down function on weston and logrotate Mathieu Dubois-Briand
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox