tests: Move test_libraries a bit higher
tests: Move test_libraries a bit higher

In the Makefile in tests/ we initialize couple of variables like
test_programs, test_libraries and test_helpers. These variables
contain all the targets that we need to build in order to run
the test suite. So we initialize test_programs and test_helpers
and then conditionally add targets to them depending on what we
are building with. Then we repeat the same process with
test_libraries. It makes no sense to have two separate if-endif
sequences.

Signed-off-by: Michal Privoznik <83d82aaba2eed257f4814b0c239c260c4caaadf0@redhat.com>

andreabolognani/libvirt,crobinso/libvirt,jardasgit/libvirt,taget/libvirt,datto/libvirt,nertpinx/libvirt,crobinso/libvirt,taget/libvirt,olafhering/libvirt,eskultety/libvirt,nertpinx/libvirt,jfehlig/libvirt,olafhering/libvirt,fabianfreyer/libvirt,taget/libvirt,datto/libvirt,fabianfreyer/libvirt,crobinso/libvirt,taget/libvirt,olafhering/libvirt,taget/libvirt,VenkatDatta/libvirt,zippy2/libvirt,andreabolognani/libvirt,olafhering/libvirt,VenkatDatta/libvirt,jfehlig/libvirt,nertpinx/libvirt,jardasgit/libvirt,zippy2/libvirt,libvirt/libvirt,andreabolognani/libvirt,jardasgit/libvirt,andreabolognani/libvirt,eskultety/libvirt,VenkatDatta/libvirt,jfehlig/libvirt,fabianfreyer/libvirt,eskultety/libvirt,nertpinx/libvirt,nertpinx/libvirt,fabianfreyer/libvirt,datto/libvirt,libvirt/libvirt,crobinso/libvirt,VenkatDatta/libvirt,andreabolognani/libvirt,jardasgit/libvirt,zippy2/libvirt,datto/libvirt,fabianfreyer/libvirt,jardasgit/libvirt,jfehlig/libvirt,eskultety/libvirt,libvirt/libvirt,datto/libvirt,libvirt/libvirt,eskultety/libvirt,zippy2/libvirt,VenkatDatta/libvirt