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

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



"Richard W.M. Jones" <rjones 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 */


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