tests/amdgpu: ensure tests work by using c99 initializers
authorEmil Velikov <emil.l.velikov@gmail.com>
Sun, 23 Aug 2015 13:44:55 +0000 (14:44 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 4 Sep 2015 20:39:06 +0000 (21:39 +0100)
commitae2cf4507c32f0e16fdb41472ac68d72bfb007ac
treeb66abc8779fd9c0babba3a1b437fd780620f457e
parentf7568777365abbdd8079c2b51b2e68d603391816
tests/amdgpu: ensure tests work by using c99 initializers

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: Leo Liu <leo.liu@amd.com>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
tests/amdgpu/amdgpu_test.c