Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase vfio-ioctls coverage #2

Open
sameo opened this issue Mar 11, 2020 · 3 comments
Open

Increase vfio-ioctls coverage #2

sameo opened this issue Mar 11, 2020 · 3 comments
Assignees

Comments

@sameo
Copy link
Member

sameo commented Mar 11, 2020

By adding unit tests. There currently are zero unit testing.

We won't be able to push that code upstream without at least some unit testing.

@sameo sameo self-assigned this Mar 11, 2020
@sameo
Copy link
Member Author

sameo commented Mar 11, 2020

cc @zhabinecho

@zhabinecho
Copy link

Yeah, I'll cover it later.

@arronwy
Copy link

arronwy commented May 20, 2020

We found the unit tests for vfio-ioctls crate may require some real PCI devices. Current integration test of cloud-hypervisor vfio part use nested virtualization. For vfio-ioctls unit test we may need use a device which need exists in most of the platforms like USB? or through emulation? any suggestions?

arronwy pushed a commit to arronwy/vfio-ioctls that referenced this issue May 27, 2020
Some unit test may require interactive with real devices,
we ignore them by default.

Fixes cloud-hypervisor#2
arronwy pushed a commit to arronwy/vfio-ioctls that referenced this issue May 27, 2020
Some unit test may require interactive with real devices,
we ignore them by default.

Fixes cloud-hypervisor#2
arronwy pushed a commit to arronwy/vfio-ioctls that referenced this issue May 27, 2020
Some unit test may require interactive with real devices,
we ignore them by default.

Fixes cloud-hypervisor#2

Signed-off-by: Arron Wang <[email protected]>
arronwy pushed a commit to arronwy/vfio-ioctls that referenced this issue Jun 2, 2020
Some unit test may require interactive with real devices,
we ignore them by default.

Fixes cloud-hypervisor#2

Signed-off-by: Arron Wang <[email protected]>
sameo pushed a commit that referenced this issue Jun 2, 2020
Some unit test may require interactive with real devices,
we ignore them by default.

Fixes #2

Signed-off-by: Arron Wang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants