qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 09/31] tests/functional: add helpers for building file pat


From: Thomas Huth
Subject: Re: [PATCH v2 09/31] tests/functional: add helpers for building file paths
Date: Thu, 12 Dec 2024 10:01:51 +0100
User-agent: Mozilla Thunderbird

On 11/12/2024 18.26, Daniel P. Berrangé wrote:
Add helper methods that construct paths for

  * log files - to be preserved at the end of a test
  * scratch files - to be purged at the end of a test
  * build files - anything relative to the build root
  * data files - anything relative to the functional test source root
  * socket files - a short temporary dir to avoid UNIX socket limits

These are to be used instead of direct access to the self.workdir,
or self.logdir variables, or any other place where paths are built
manually.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
---
  tests/functional/qemu_test/testcase.py | 95 ++++++++++++++++++++++++++
  1 file changed, 95 insertions(+)

Reviewed-by: Thomas Huth <thuth@redhat.com>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]