test: dm: virtio: Split out virtio device tests
authorAndrew Scull <ascull@google.com>
Mon, 16 May 2022 10:41:36 +0000 (10:41 +0000)
committerTom Rini <trini@konsulko.com>
Wed, 8 Jun 2022 13:24:04 +0000 (09:24 -0400)
commit8df508ff3d4cfe8a2b7a706518692e194cc7f021
tree7dbc0823ece7d37e52ba3e4ddcd5a562a20a9553
parent82c8610a44c6d4d38b90246f6893cb8e7b911e0c
test: dm: virtio: Split out virtio device tests

Virtio tests that find a child device require the virtio device driver
to be included in the build so it can probe. The sandbox virtio
transport driver currently reports a virtio-blk device so make sure the
corresponding driver is built before running tests that need it.

Signed-off-by: Andrew Scull <ascull@google.com>
test/dm/Makefile
test/dm/virtio.c
test/dm/virtio_device.c [new file with mode: 0644]