Skip to content

oeqa: runtime: Clean setup/tear down function on weston and logrotate

Mathieu Dubois-Briand openembedded-core 2 versions – New

Get series with b4
b4 am [email protected] change-id 20251013-mathieu-test-clean-setup-6eec6fcc734d

Versions newest first

  1. v2 Latest2 patches 0 repliesNew
  2. v13 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- 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/[email protected]

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2oeqa: runtime: logrotate: Remove setup and tear down methodsmeta/lib/oeqa/runtime/cases/logrotate.py+8 -110 replies
2/2oeqa: runtime: weston: Remove tear down methodmeta/lib/oeqa/runtime/cases/weston.py+5 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] oeqa: runtime: Clean setup/tear down function on weston and logrotate

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.

---
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/[email protected]

---
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,

Signature · 1 line
Mathieu Dubois-Briand <[email protected]>