]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: trivial change to mdevctl test macro
authorJonathon Jongsma <jjongsma@redhat.com>
Tue, 30 Mar 2021 16:05:59 +0000 (11:05 -0500)
committerJonathon Jongsma <jjongsma@redhat.com>
Wed, 7 Apr 2021 20:05:19 +0000 (15:05 -0500)
commiteb27a233f27380f59905d0a64457777d79f54049
tree4e790000985420e69d590aad2064acfc3cb5a265
parent8fed1d9636c1d0be058c1ca93c9630e25380e04f
tests: trivial change to mdevctl test macro

In order to be able to pass a string as user data to the test function,
change the DO_TEST_FULL() macro to expect a pointer and pass it directly
to virTestRun(). Previously we expected the caller to pass a struct
variable and then passed the address of that to virTestRun().

Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
tests/nodedevmdevctltest.c