]> git.ipfire.org Git - thirdparty/qemu.git/commit
tests/avocado: mips: add hint for fetchasset plugin
authorCleber Rosa <crosa@redhat.com>
Fri, 26 Jul 2024 13:44:27 +0000 (09:44 -0400)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 30 Jul 2024 22:14:22 +0000 (00:14 +0200)
commit085ea2b868ab02536320f11a7bc2326d8c26dcd3
treec51508850caa8e6c339ea3f8400aa3d7e78b70c2
parentb8f5932dda01e9ad5b392606b16f3162d0801a21
tests/avocado: mips: add hint for fetchasset plugin

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>
Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20240726134438.14720-3-crosa@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
tests/avocado/boot_linux_console.py