oeqa: runtime: Clean setup/tear down function on weston and logrotate
Get series with b4
b4 am [email protected] change-id 20251013-mathieu-test-clean-setup-6eec6fcc734dVersions newest first
- v2 Latest2 patches 0 repliesNew
- 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 files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | oeqa: runtime: logrotate: Remove setup and tear down methodsmeta/ | +8 | 0 replies | |
| 2/2 | oeqa: runtime: weston: Remove tear down methodmeta/ | +5 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
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]>