From d59df79863dee535130fa23d4cb9fafad64b97b5 Mon Sep 17 00:00:00 2001 From: Nicolas Benech Date: Fri, 22 Mar 2019 15:38:30 -0400 Subject: [PATCH] gpu: nvgpu: unit: fix duplicate test names in pd_cache The pd_cache unit had 2 tests with the same name, and as a result, one of them was missing from required_tests.json. JIRA NVGPU-1246 Change-Id: Ic6077e8d79af4909052b2067f8e6a6984cd2bb72 Signed-off-by: Nicolas Benech Reviewed-on: https://git-master.nvidia.com/r/2079371 Reviewed-by: mobile promotions Tested-by: mobile promotions --- userspace/required_tests.json | 4 ++++ userspace/units/mm/gmmu/pd_cache/pd_cache.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/userspace/required_tests.json b/userspace/required_tests.json index 2ef9ae533..dc284f787 100644 --- a/userspace/required_tests.json +++ b/userspace/required_tests.json @@ -741,6 +741,10 @@ }, { "test": "init", + "unit": "pd_cache" + }, + { + "test": "init_deinit", "req": "NVGPU-RQCD-124.C1", "vc": "V3", "uid": "6962548", diff --git a/userspace/units/mm/gmmu/pd_cache/pd_cache.c b/userspace/units/mm/gmmu/pd_cache/pd_cache.c index 202443f96..d67de53d8 100644 --- a/userspace/units/mm/gmmu/pd_cache/pd_cache.c +++ b/userspace/units/mm/gmmu/pd_cache/pd_cache.c @@ -1051,7 +1051,7 @@ struct unit_module_test pd_cache_tests[] = { UNIT_TEST_REQ("NVGPU-RQCD-126.C1,2", PD_CACHE_REQ5_UID, "V1", offset_comp, test_offset_computation, NULL), UNIT_TEST_REQ("NVGPU-RQCD-124.C1", PD_CACHE_REQ6_UID, "V3", - init, test_init_deinit, NULL), + init_deinit, test_init_deinit, NULL), UNIT_TEST_REQ("NVGPU-RQCD-155.C1", PD_CACHE_REQ7_UID, "V2", multi_init, test_init_deinit, NULL), UNIT_TEST_REQ("NVGPU-RQCD-125.C1", PD_CACHE_REQ8_UID, "V2",