aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorChunming Zhou2018-03-01 04:04:07 -0600
committerChunming Zhou2018-03-01 20:32:22 -0600
commit1f6a85cc3773025940005e443f9bddcbf1795c27 (patch)
tree470fa9656033db3d4c29f9ae27e4e1374680c2ed /tests
parentbca585b02f09e27d7adef8375630515711bd4802 (diff)
downloadexternal-libdrm-1f6a85cc3773025940005e443f9bddcbf1795c27.tar.gz
external-libdrm-1f6a85cc3773025940005e443f9bddcbf1795c27.tar.xz
external-libdrm-1f6a85cc3773025940005e443f9bddcbf1795c27.zip
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 <david1.zhou@amd.com> Acked-by: Christian K├Ânig <christian.koenig@amd.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/amdgpu/amdgpu_test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/amdgpu/amdgpu_test.c b/tests/amdgpu/amdgpu_test.c
index 4f766aaf..35cb37a4 100644
--- a/tests/amdgpu/amdgpu_test.c
+++ b/tests/amdgpu/amdgpu_test.c
@@ -432,6 +432,8 @@ static void amdgpu_disable_suits()
432 if (amdgpu_set_test_active(BO_TESTS_STR, "Metadata", CU_FALSE)) 432 if (amdgpu_set_test_active(BO_TESTS_STR, "Metadata", CU_FALSE))
433 fprintf(stderr, "test deactivation failed - %s\n", CU_get_error_msg()); 433 fprintf(stderr, "test deactivation failed - %s\n", CU_get_error_msg());
434 434
435 if (amdgpu_set_test_active(BASIC_TESTS_STR, "bo eviction Test", CU_FALSE))
436 fprintf(stderr, "test deactivation failed - %s\n", CU_get_error_msg());
435 437
436 /* This test was ran on GFX8 and GFX9 only */ 438 /* This test was ran on GFX8 and GFX9 only */
437 if (family_id < AMDGPU_FAMILY_VI || family_id > AMDGPU_FAMILY_RV) 439 if (family_id < AMDGPU_FAMILY_VI || family_id > AMDGPU_FAMILY_RV)