Re: [libvirt] [PATCH 1/4] tests: Split off the mock part of the port allocator test

2016-02-11 Thread Ján Tomko
On Thu, Feb 11, 2016 at 02:36:28PM +0100, Andrea Bolognani wrote: > Instead of compiling either the mock or the non-mock part of the > file based on a compiler flag, split the mock part off to its > own file. > --- > tests/Makefile.am| 4 +- > tests/virportallocatormock.c | 108

[libvirt] [PATCH 1/4] tests: Split off the mock part of the port allocator test

2016-02-11 Thread Andrea Bolognani
Instead of compiling either the mock or the non-mock part of the file based on a compiler flag, split the mock part off to its own file. --- tests/Makefile.am| 4 +- tests/virportallocatormock.c | 108 ++ tests/virportallocatortest.c | 110

Re: [libvirt] [PATCH 1/4] tests: Split off the mock part of the port allocator test

2016-02-11 Thread Andrea Bolognani
On Thu, 2016-02-11 at 15:45 +0100, Ján Tomko wrote: > On Thu, Feb 11, 2016 at 02:36:28PM +0100, Andrea Bolognani wrote: > > Instead of compiling either the mock or the non-mock part of the > > file based on a compiler flag, split the mock part off to its > > own file. > > --- > >