[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 0/4] tests/qtest: Check for devices before using them
From: |
Michael S. Tsirkin |
Subject: |
Re: [PATCH 0/4] tests/qtest: Check for devices before using them |
Date: |
Thu, 22 Jun 2023 16:06:28 -0400 |
On Thu, May 25, 2023 at 10:10:12AM +0200, Thomas Huth wrote:
> Here are some more patches that are required for running the qtests
> with builds that have been configured with "--without-default-devices".
> We need to check whether the required devices are really available
> in the binaries before we can use them, otherwise the tests will
> fail.
>
> Thomas Huth (4):
> tests/qtest/usb-hcd-uhci-test: Check whether "usb-storage" is
> available
> tests/qtest: Check for virtio-blk before using -cdrom with the arm
> virt machine
> tests/qtest/rtl8139-test: Check whether the rtl8139 device is
> available
> tests/qtest/usb-hcd-ehci-test: Check for EHCI and UHCI HCDs before
> using them
>
> tests/qtest/bios-tables-test.c | 2 +-
> tests/qtest/cdrom-test.c | 6 +++++-
> tests/qtest/rtl8139-test.c | 4 ++++
> tests/qtest/usb-hcd-ehci-test.c | 5 +++++
> tests/qtest/usb-hcd-uhci-test.c | 4 +++-
> 5 files changed, 18 insertions(+), 3 deletions(-)
I am worried that if an uninitentional change disables some devices
by default our CI will no longer catch this.
Any way to address this? E.g. maybe introduce a "for CI" or
"test all" configure flag and then make test fail if something
hasn't been configured?
> --
> 2.31.1
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [PATCH 0/4] tests/qtest: Check for devices before using them,
Michael S. Tsirkin <=