Commit 1f6a85cc authored by Chunming Zhou's avatar Chunming Zhou
Browse files

test/amdgpu: disable bo eviction test by default



if some system has no swap space and memory is less, than the test
could fail.
And bo eviction test takes much more time in some system, which effects
automation test result and efficiency.
So disable it by default now, only be used by developer manually.
Signed-off-by: Chunming Zhou's avatarChunming Zhou <david1.zhou@amd.com>
Acked-by: Christian König's avatarChristian König <christian.koenig@amd.com>
parent bca585b0
...@@ -432,6 +432,8 @@ static void amdgpu_disable_suits() ...@@ -432,6 +432,8 @@ static void amdgpu_disable_suits()
if (amdgpu_set_test_active(BO_TESTS_STR, "Metadata", CU_FALSE)) if (amdgpu_set_test_active(BO_TESTS_STR, "Metadata", CU_FALSE))
fprintf(stderr, "test deactivation failed - %s\n", CU_get_error_msg()); fprintf(stderr, "test deactivation failed - %s\n", CU_get_error_msg());
if (amdgpu_set_test_active(BASIC_TESTS_STR, "bo eviction Test", CU_FALSE))
fprintf(stderr, "test deactivation failed - %s\n", CU_get_error_msg());
/* This test was ran on GFX8 and GFX9 only */ /* This test was ran on GFX8 and GFX9 only */
if (family_id < AMDGPU_FAMILY_VI || family_id > AMDGPU_FAMILY_RV) if (family_id < AMDGPU_FAMILY_VI || family_id > AMDGPU_FAMILY_RV)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment