qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] tests/avocado/tuxrun_baselines: Fix ppc64 tests for binaries


From: Daniel Henrique Barboza
Subject: Re: [PATCH] tests/avocado/tuxrun_baselines: Fix ppc64 tests for binaries without slirp
Date: Wed, 7 Jun 2023 09:49:51 -0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0



On 6/6/23 16:28, Thomas Huth wrote:
The ppc64 tuxrun tests are currently failing if "slirp" has been
disabled in the binary since they are using "-netdev user" now.
We have to skip the test if this network backend is missing.

Fixes: 6ee3624236 ("improve code coverage for ppc64")
Signed-off-by: Thomas Huth <thuth@redhat.com>
---

Queued in gitlab.com/danielhb/qemu/tree/ppc-next. Thanks,


Daniel

  tests/avocado/tuxrun_baselines.py | 1 +
  1 file changed, 1 insertion(+)

diff --git a/tests/avocado/tuxrun_baselines.py 
b/tests/avocado/tuxrun_baselines.py
index 3a46e7a745..e12250eabb 100644
--- a/tests/avocado/tuxrun_baselines.py
+++ b/tests/avocado/tuxrun_baselines.py
@@ -184,6 +184,7 @@ def common_tuxrun(self,
def ppc64_common_tuxrun(self, sums, prefix):
          # add device args to command line.
+        self.require_netdev('user')
          self.vm.add_args('-netdev', 'user,id=vnet,hostfwd=:127.0.0.1:0-:22',
                           '-device', 'virtio-net,netdev=vnet')
          self.vm.add_args('-netdev', '{"type":"user","id":"hostnet0"}',



reply via email to

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