Re: Redesigning Libvirt: Adopting use of a safe language

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/14/2017 06:27 PM, Daniel P. Berrange wrote:
> 

This might be more tricky than one would initially think. What about
tests for instance? In our test suite we rely heavily on mocking. For
instance, virpcitest uses virpcimock which reimplements kernel behaviour
for detach/attach of PCI devices. Would it be possible to have that with
a Go program? Okay, virpcimock might not be the best example since it
mocks plain syscalls (open, close, ...). But then there are some tests
which mock more high level functions - e.g. qemuxml2argvmock.

On the other hand, some tests would not be needed at all - e.g.
virhashtest - assuming Go has its own implementation of hash tables that
we'd use.

Michal

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux