amdgpu: Dynamicly disable BO suite "Metadata" test.
Disable the test instead of doing #ifdef 0 Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com>main
parent
1a129004a8
commit
aeab24aa9e
|
@ -417,6 +417,9 @@ static void amdgpu_disable_suits()
|
|||
*/
|
||||
if (amdgpu_set_test_active(DEADLOCK_TESTS_STR, "compute ring block test", CU_FALSE))
|
||||
fprintf(stderr, "test deactivation failed - %s\n", CU_get_error_msg());
|
||||
|
||||
if (amdgpu_set_test_active(BO_TESTS_STR, "Metadata", CU_FALSE))
|
||||
fprintf(stderr, "test deactivation failed - %s\n", CU_get_error_msg());
|
||||
}
|
||||
|
||||
/* The main() function for setting up and running the tests.
|
||||
|
|
|
@ -51,9 +51,7 @@ static void amdgpu_mem_fail_alloc(void);
|
|||
|
||||
CU_TestInfo bo_tests[] = {
|
||||
{ "Export/Import", amdgpu_bo_export_import },
|
||||
#if 0
|
||||
{ "Metadata", amdgpu_bo_metadata },
|
||||
#endif
|
||||
{ "CPU map/unmap", amdgpu_bo_map_unmap },
|
||||
{ "Memory alloc Test", amdgpu_memory_alloc },
|
||||
{ "Memory fail alloc Test", amdgpu_mem_fail_alloc },
|
||||
|
|
Loading…
Reference in New Issue