Re: [Qemu-devel] [PATCHv5] tests: add qtest_add_data_func_full

2016-09-08 Thread Marc-André Lureau
Hi - Original Message - > On 09/08/2016 03:40 AM, Marc-André Lureau wrote: > > 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,

Re: [Qemu-devel] [PATCHv5] tests: add qtest_add_data_func_full

2016-09-08 Thread Eric Blake
On 09/08/2016 03:40 AM, Marc-André Lureau wrote: > 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

[Qemu-devel] [PATCHv5] tests: add qtest_add_data_func_full

2016-09-08 Thread Marc-André Lureau
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é