|
| From: | Thomas Huth |
| Subject: | Re: [PATCH 16/18] tests/qtest/meson.build: Run the net filter tests only with default devices |
| Date: | Mon, 15 May 2023 11:46:18 +0200 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 |
On 14/05/2023 22.31, Paolo Bonzini wrote:
Il ven 12 mag 2023, 14:41 Thomas Huth <thuth@redhat.com <mailto:thuth@redhat.com>> ha scritto:These tests rely on a default NIC to be available. Skip them if we used the "--without-default-devices" configure option. Signed-off-by: Thomas Huth <thuth@redhat.com <mailto:thuth@redhat.com>>This is the only patch I have some qualms about, because it reduces coverage in legitimate setups where the default NIC _is_ included in the binary.Still a lot better than before, but please add a FIXME here.
Ok, will do.
We can perhaps try to use QMP to check if the machines have a usable default NIC, and if not skip the test, but this should not block the bulk of your work from being merged.
I'm currently not aware of a way to query the default NIC via QMP, so this might need some extensions there ... but I'll keep it in mind.
The alternative would be to hard-code the default NICs for each architecture in the tests again and check for the availability with that hard-coded list ... but that's also ugly, I think.
So, apart from this issue, series Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Thanks! Thomas
| [Prev in Thread] | Current Thread | [Next in Thread] |