]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: Split off the mock part of the port allocator test
authorAndrea Bolognani <abologna@redhat.com>
Thu, 11 Feb 2016 12:46:16 +0000 (13:46 +0100)
committerAndrea Bolognani <abologna@redhat.com>
Thu, 11 Feb 2016 17:24:31 +0000 (18:24 +0100)
commitcaf8d479c6c7748ddaafa29240d969edf4586f9f
tree59a81bd5b72c2ea42572101e88c6ed45eda47b4b
parentb60af444ccc7ae2655af6753d62c7ee611a628b8
tests: Split off the mock part of the port allocator test

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
tests/virportallocatormock.c [new file with mode: 0644]
tests/virportallocatortest.c