From cae36cdc3537aec07460973b652f278b7b16f178 Mon Sep 17 00:00:00 2001 From: Antony Clince Alex Date: Tue, 7 Jan 2020 09:48:41 +0530 Subject: [PATCH] gpu: nvgpu: userspace: make common.ecc unit test visible to doxygen The unit test files for common.ecc unit was not included in the doxygen source file list, causing them not be parsed by doxygen. Updated doxygen source list to include them. Fixed doxyen targets tag for unit test functions within common.ecc unit. Jira: NVGPU-4819 Change-Id: Idacf3d4d5f297950255c47b6380386be88fbd606 Signed-off-by: Antony Clince Alex Reviewed-on: https://git-master.nvidia.com/r/2274725 Reviewed-by: mobile promotions Tested-by: mobile promotions --- userspace/SWUTS.h | 1 + userspace/SWUTS.sources | 1 + userspace/units/ecc/nvgpu-ecc.h | 4 ++-- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/userspace/SWUTS.h b/userspace/SWUTS.h index 56553466b..d062e951c 100644 --- a/userspace/SWUTS.h +++ b/userspace/SWUTS.h @@ -119,6 +119,7 @@ * - @ref SWUTS-gr-ctx * - @ref SWUTS-gr-obj-ctx * - @ref SWUTS-gr-config + * - @ref SWUTS-ecc * */ diff --git a/userspace/SWUTS.sources b/userspace/SWUTS.sources index 82336ca48..df42368c4 100644 --- a/userspace/SWUTS.sources +++ b/userspace/SWUTS.sources @@ -91,3 +91,4 @@ INPUT += ../../../userspace/units/gr/intr/nvgpu-gr-global-ctx.h INPUT += ../../../userspace/units/gr/intr/nvgpu-gr-ctx.h INPUT += ../../../userspace/units/gr/intr/nvgpu-gr-obj-ctx.h INPUT += ../../../userspace/units/gr/config/nvgpu-gr-config.h +INPUT += ../../../userspace/units/ecc/nvgpu-ecc.h diff --git a/userspace/units/ecc/nvgpu-ecc.h b/userspace/units/ecc/nvgpu-ecc.h index 0689e6a4c..0e014cfd6 100644 --- a/userspace/units/ecc/nvgpu-ecc.h +++ b/userspace/units/ecc/nvgpu-ecc.h @@ -66,7 +66,7 @@ int test_ecc_init_support(struct unit_module *m, * * Test Type: Feature Based * - * Targets: "nvgpu_ecc_finalize_support" + * Targets: nvgpu_ecc_finalize_support * * Input: None * @@ -93,7 +93,7 @@ int test_ecc_finalize_support(struct unit_module *m, * * Test Type: Feature Based * - * Targets: nvgpu_ecc_counter_init + * Targets: nvgpu_ecc_counter_init, nvgpu_ecc_stat_add * * Input: nvgpu_ecc_init_support *