qemu-arm
[Top][All Lists]
Advanced

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

Re: [PATCH 2/9] Avocado tests: use logging namespace that is preserved i


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH 2/9] Avocado tests: use logging namespace that is preserved in test logs
Date: Sun, 27 Feb 2022 19:49:25 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.6.1

On 25/2/22 22:01, Cleber Rosa wrote:
Since Avocado 92.0[1], there's no universal preservation of logged
content via Python's "logging" APIs into the test log files.  This
changes were motivated by the fact that doing so is intrusive as it
touches on Python's root logger.

Test writers are now expected to use "avocado." as a namespace prefix
for everything that Avocado should collect/preserve, and other
prefixes for logged content that should be handled differently.

[1] - 
https://avocado-framework.readthedocs.io/en/94.0/releases/92_0.html#users-test-writers

Signed-off-by: Cleber Rosa <crosa@redhat.com>
---
  tests/avocado/avocado_qemu/__init__.py    | 5 ++---
  tests/avocado/linux_initrd.py             | 3 +--
  tests/avocado/machine_arm_integratorcp.py | 3 +--
  tests/avocado/machine_mips_malta.py       | 3 +--
  tests/avocado/replay_kernel.py            | 5 ++---
  tests/avocado/replay_linux.py             | 5 ++---
  tests/avocado/reverse_debugging.py        | 5 ++---
  tests/avocado/tesseract_utils.py          | 6 +++---
  tests/avocado/virtio_check_params.py      | 3 +--
  9 files changed, 15 insertions(+), 23 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>



reply via email to

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