OSDN Git Service

tests: virtio: separate ccw tests from libqos
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 1 Aug 2018 13:26:22 +0000 (15:26 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 23 Aug 2018 11:32:50 +0000 (13:32 +0200)
commit06d09a018f9ec52e24c46845a8cf2e8e3c2c6e1c
treed1f7c33793625977b6d925a3c738722ad1a3ca0e
parent659b11e7a7239529cfdb4968418268ff9aa22d88
tests: virtio: separate ccw tests from libqos

Because qtest does not support s390 channel I/O, s390 only performs smoke tests on
those few devices that do not have any functional tests.  Therefore, every time we
add functional tests for a virtio device, the choice is between removing
those tests from the s390 suite (so that s390 actually _loses_ coverage)
or sprinkling the test with architecture checks.

This patch simply creates a ccw-specific test that only performs smoke tests on
all virtio-ccw devices.  If channel I/O support is ever added to qtest and libqos,
then this file can go away.  In the meanwhile, it simplifies maintenance and
makes sure that all virtio devices are tested.

Acked-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tests/Makefile.include
tests/virtio-ccw-test.c [new file with mode: 0644]