qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 02/13] tests/avocado: mips: add hint for fetchasset plugin


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH 02/13] tests/avocado: mips: add hint for fetchasset plugin
Date: Mon, 29 Jul 2024 15:31:54 +0200
User-agent: Mozilla Thunderbird

On 26/7/24 15:44, Cleber Rosa wrote:
Avocado's fetchasset plugin runs before the actual Avocado job (and
any test).  It analyses the test's code looking for occurrences of
"self.fetch_asset()" in the either the actual test or setUp() method.
It's not able to fully analyze all code, though.

The way these tests are written, make the fetchasset plugin blind to
the assets.  This adds some more code duplication, true, but it will
aid the fetchasset plugin to download or verify the existence of these
assets in advance.

Signed-off-by: Cleber Rosa <crosa@redhat.com>
---
  tests/avocado/boot_linux_console.py | 12 +++++++-----
  1 file changed, 7 insertions(+), 5 deletions(-)

Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org>




reply via email to

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