Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
tests/avocado/tuxrun_baselines: Fix ppc64 tests for binaries without …
…slirp

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: 6ee3624 ("improve code coverage for ppc64")
Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Acked-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230606192802.666000-1-thuth@redhat.com>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
  • Loading branch information
huth authored and danielhb committed Jun 10, 2023
1 parent 8e67403 commit 12cae32
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/avocado/tuxrun_baselines.py
Expand Up @@ -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"}',
Expand Down

0 comments on commit 12cae32

Please sign in to comment.