mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
vm-virtio: checked_descriptor: Introduce unit_tests module
Add a unit_tests module with the first test for CheckedDescriptorIter, covering the happy path where a valid single descriptor is yielded and the iterator reports no failure. Wire up the virtio-bindings dev dependency and local test helpers needed by the test. Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>
This commit is contained in:
committed by
Rob Bradford
parent
2bf5464f92
commit
d24e2fd140
@@ -19,3 +19,6 @@ vm-memory = { workspace = true, features = [
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[dev-dependencies]
|
||||
virtio-bindings = { workspace = true }
|
||||
|
||||
Reference in New Issue
Block a user