From 36fcd45ca4ce2a33e00525de557d7c74241e75cc Mon Sep 17 00:00:00 2001 From: Rajesh Devaraj Date: Tue, 9 May 2023 07:24:32 +0000 Subject: [PATCH] userspace: disable unit test for gr_config err injection This patch disables test_gr_config_error_injection JIRA NVGPU-9897 Change-Id: I771598687f4a1efc9a9a4229dbfd5524c5b6732f Signed-off-by: Rajesh Devaraj Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2900702 Reviewed-by: svc-mobile-coverity Reviewed-by: svc-mobile-misra Reviewed-by: V M S Seeta Rama Raju Mudundi Reviewed-by: Ankur Kishore GVS: Gerrit_Virtual_Submit --- userspace/required_tests.ini | 2 +- userspace/units/gr/config/nvgpu-gr-config.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/userspace/required_tests.ini b/userspace/required_tests.ini index 5d9d351cf..789c8a137 100644 --- a/userspace/required_tests.ini +++ b/userspace/required_tests.ini @@ -602,7 +602,7 @@ test_get_poll_timeout.get_poll_timeout=0 [nvgpu_gr_config] test_gr_config_count.config_check_init=0 test_gr_config_deinit.config_deinit=0 -test_gr_config_error_injection.config_error_injection=0 +test_gr_config_error_injection.config_error_injection=2 test_gr_config_init.config_init=0 test_gr_config_set_get.config_check_set_get=0 test_gr_init_setup.gr_init_setup=0 diff --git a/userspace/units/gr/config/nvgpu-gr-config.c b/userspace/units/gr/config/nvgpu-gr-config.c index 691c390b6..29a4b1ada 100644 --- a/userspace/units/gr/config/nvgpu-gr-config.c +++ b/userspace/units/gr/config/nvgpu-gr-config.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019-2021, NVIDIA CORPORATION. All rights reserved. + * Copyright (c) 2019-2023, NVIDIA CORPORATION. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -584,7 +584,7 @@ struct unit_module_test nvgpu_gr_config_tests[] = { UNIT_TEST(config_check_init, test_gr_config_count, NULL, 0), UNIT_TEST(config_check_set_get, test_gr_config_set_get, NULL, 0), UNIT_TEST(config_error_injection, - test_gr_config_error_injection, NULL, 0), + test_gr_config_error_injection, NULL, 2), UNIT_TEST(config_deinit, test_gr_config_deinit, NULL, 0), UNIT_TEST(gr_remove_setup, test_gr_remove_setup, NULL, 0), };