diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-07-19 15:42:01 +0400 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-09-08 18:05:22 +0400 |
commit | 822e36ca358c20406c34b7cb585d1ce2456027d5 (patch) | |
tree | a1a07139315e61116844b230b41dda0652fa15df /tests/pc-cpu-test.c | |
parent | f73480c36f49562556b80bb5bf8acc45e20dcca1 (diff) |
tests: add qtest_add_data_func_full
Allows one to specify a destroy function for the test data.
Add a fallback using glib g_test_add_vtable() internal function, whose
signature changed over time. Tested with glib 2.22, 2.26 and 2.48, which
according to git log should be enough to cover all variations.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'tests/pc-cpu-test.c')
0 files changed, 0 insertions, 0 deletions