test/amdgpu: disable bo eviction test by default
PATCH 1/1 test/amdgpu: disable bo eviction test by default
if some system hase 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.
--- tests/amdgpu/amdgpu_test.c | 2 ++ 1 file changed, 2 insertions(+)
tests/amdgpu/amdgpu_test.c +2 -0
@@ -432,6 +432,8 @@ static void amdgpu_disable_suits()if (amdgpu_set_test_active (BO_TESTS_STR ,"Metadata" ,CU_FALSE ))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 */ if (family_id <AMDGPU_FAMILY_VI || family_id >AMDGPU_FAMILY_RV )
Signature · 6 lines
2.14.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): [email protected]
Christian König
Acked-byAm 01.03.2018 um 11:10 schrieb Chunming Zhou:
Quoted 7 lines
if some system hase 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 <[email protected]>
Quoted 9 lines
--- tests/amdgpu/amdgpu_test.c | 2 ++ 1 file changed, 2 insertions(+)tests/amdgpu/amdgpu_test.c +0
-0
tests/amdgpu/amdgpu_test.c static void amdgpu_disable_suits() · line 439
Quoted 8 lines
tests/amdgpu/amdgpu_test.c +2
-0@@ -432,6 +432,8 @@ static void amdgpu_disable_suits()if (amdgpu_set_test_active (BO_TESTS_STR ,"Metadata" ,CU_FALSE ))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 */ if (family_id <AMDGPU_FAMILY_VI || family_id >AMDGPU_FAMILY_RV )
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx