[libvirt] [PATCH] tests: stub out virfilewrapper.c on Win32

Martin Kletzander mkletzan at redhat.com
Thu May 11 13:13:03 UTC 2017


On Thu, May 11, 2017 at 11:46:01AM +0100, Daniel P. Berrange wrote:
>The Win32 platform can not do link time overrides in the same way
>that we can on POSIX / ELF based platforms, so we cannot build
>the virfilewrapper.c code reliably. Just stub it out on Win32
>so it is a no-op. Tests that use this file are already written
>to skip on Win32.
>

I understood we wanted to see that some tests were skipped on a
particular platform.  But we already have so many tests build
conditionally, why don't we just exclude all of them in a Makefile?
That way we wouldn't need to make whole file inside a condition.  I can
walk through them and clean it up, I just want to know if it makes
sense.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20170511/13a862f8/attachment-0001.sig>


More information about the libvir-list mailing list