]> git.ipfire.org Git - thirdparty/libvirt.git/commit
seclabeltest: Update to use VIRT_TEST_MAIN
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 25 Feb 2016 16:13:00 +0000 (17:13 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 10 May 2016 15:16:11 +0000 (17:16 +0200)
commitcd25acba268af583764839de9db2d49983dce188
tree781f8bd6aa202621a93a33fd0c389afc7494fe71
parent90b4babeb7314785473595d279377a9851c59e32
seclabeltest: Update to use VIRT_TEST_MAIN

Our tests should use either VIRT_TEST_MAIN() or
VIRT_TEST_MAIN_PRELOAD() macros which create main() function and
call the passed callback subsequently. This is important because
the wrapper which calls the callback eventually does important
stuff like setting logging based on env variables and such.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
tests/Makefile.am
tests/seclabeltest.c