[Libvir] [PATCH 12/12] Compile libvirt under Windows (Cygwin)

Jim Meyering jim at meyering.net
Mon Nov 26 10:37:38 UTC 2007


"Richard W.M. Jones" <rjones at redhat.com> wrote:

> Miscellaneous minor fixes for the tests/ subdirectory.
> Index: tests/qemuxml2argvtest.c
> ===================================================================
> RCS file: /data/cvs/libvirt/tests/qemuxml2argvtest.c,v
> retrieving revision 1.7
> diff -u -r1.7 qemuxml2argvtest.c
> --- tests/qemuxml2argvtest.c	14 Nov 2007 10:35:59 -0000	1.7
> +++ tests/qemuxml2argvtest.c	24 Nov 2007 17:07:16 -0000
...
> +#else
> +
> +int main (void) { exit (EXIT_SUCCESS); }

When skipping an automake-run test, it's good to exit 77.
That tells automake that the test was skipped, and then automake
tells people who run 'make check'.

> Index: tests/qemuxml2xmltest.c
...
> +int main (void) { exit (EXIT_SUCCESS); }
> +
> +#endif /* WITH_QEMU */




More information about the libvir-list mailing list