[PATCH libdrm 14/17] tests/amdgpu: ensure tests work by using c99 initializers

2015-09-04 Thread Emil Velikov
On 4 September 2015 at 17:33, Alex Deucher wrote: > On Mon, Aug 24, 2015 at 1:08 PM, Alex Deucher > wrote: >> On Mon, Aug 24, 2015 at 12:34 PM, Emil Velikov >> wrote: >>> In the latest version of CUnit the fourth parameter of the CU_SuiteInfo >>> struct is pSetUpFunc rather than *pTests. >>> >

[PATCH libdrm 14/17] tests/amdgpu: ensure tests work by using c99 initializers

2015-09-04 Thread Alex Deucher
On Mon, Aug 24, 2015 at 1:08 PM, Alex Deucher wrote: > On Mon, Aug 24, 2015 at 12:34 PM, Emil Velikov > wrote: >> In the latest version of CUnit the fourth parameter of the CU_SuiteInfo >> struct is pSetUpFunc rather than *pTests. >> >> Seems like the CUnit ABI broke at some point, so let's the

[PATCH libdrm 14/17] tests/amdgpu: ensure tests work by using c99 initializers

2015-08-24 Thread Emil Velikov
In the latest version of CUnit the fourth parameter of the CU_SuiteInfo struct is pSetUpFunc rather than *pTests. Seems like the CUnit ABI broke at some point, so let's the the robust thing and use c99 designated initializers to correctly populate the struct(s). Cc: Alex Deucher Cc: Leo Liu Sig

[PATCH libdrm 14/17] tests/amdgpu: ensure tests work by using c99 initializers

2015-08-24 Thread Alex Deucher
On Mon, Aug 24, 2015 at 12:34 PM, Emil Velikov wrote: > In the latest version of CUnit the fourth parameter of the CU_SuiteInfo > struct is pSetUpFunc rather than *pTests. > > Seems like the CUnit ABI broke at some point, so let's the the robust > thing and use c99 designated initializers to corr