mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-25 02:52:51 +03:00
gpu: nvgpu: unit: add negative tests for common.gr.global_ctx
Add negative tests that inject memory allocation failures and verify error handling path in common.gr.global_ctx unit. Jira NVGPU-4373 Change-Id: Ic180f5eda0d25d5a713bdd513a617dc7c3a29d53 Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2255770 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
Alex Waterman
parent
1eaa2f3d35
commit
83ef099d19
@@ -1991,6 +1991,30 @@
|
||||
"unit": "nvgpu_gr_fs_state",
|
||||
"test_level": 0
|
||||
},
|
||||
{
|
||||
"test": "test_gr_init_setup",
|
||||
"case": "gr_global_ctx_setup",
|
||||
"unit": "nvgpu_gr_global_ctx",
|
||||
"test_level": 0
|
||||
},
|
||||
{
|
||||
"test": "test_gr_global_ctx_alloc_error_injection",
|
||||
"case": "gr_global_ctx_alloc_errors",
|
||||
"unit": "nvgpu_gr_global_ctx",
|
||||
"test_level": 0
|
||||
},
|
||||
{
|
||||
"test": "test_gr_global_ctx_local_ctx_error_injection",
|
||||
"case": "gr_global_ctx_local_ctx_errors",
|
||||
"unit": "nvgpu_gr_global_ctx",
|
||||
"test_level": 0
|
||||
},
|
||||
{
|
||||
"test": "test_gr_remove_setup",
|
||||
"case": "gr_global_ctx_cleanup",
|
||||
"unit": "nvgpu_gr_global_ctx",
|
||||
"test_level": 0
|
||||
},
|
||||
{
|
||||
"test": "test_nvgpu_mem_create_from_phys",
|
||||
"case": "mem_create_from_phys",
|
||||
|
||||
Reference in New Issue
Block a user