Marc-André Lureau 822e36ca35 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>
2016-09-08 18:05:22 +04:00
..
2016-07-25 13:23:18 -05:00
2016-07-06 10:52:04 +02:00
2016-02-23 12:43:05 +00:00
2016-07-06 10:52:03 +02:00
2016-06-16 18:39:03 +02:00
2016-06-16 18:39:03 +02:00
2016-09-08 18:05:22 +04:00
2016-09-08 18:05:22 +04:00
2016-02-16 14:29:27 +00:00
2016-06-16 18:39:03 +02:00
2016-09-08 18:05:21 +04:00
2016-08-08 13:05:43 +02:00
2016-09-08 17:57:32 +04:00
2016-06-07 18:19:25 +03:00
2016-02-16 14:29:27 +00:00
2016-09-08 17:57:32 +04:00
2016-09-08 17:57:32 +04:00
2016-09-08 17:57:32 +04:00