mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
gpu: nvgpu: add BVEC tests for get_litter_value
All legitimate litter types are tested. Add invalid parameter checks. JIRA NVGPU-6390 Change-Id: Ie0e82b045f1cbfe101d1de022236c38b4b9c208e Signed-off-by: Sagar Kamble <skamble@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2549908 (cherry picked from commit 14b1f04d8744776a8efc78e57c16538cf062c7dd) Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2623627 Reviewed-by: svcacv <svcacv@nvidia.com> Reviewed-by: Shashank Singh <shashsingh@nvidia.com> Reviewed-by: Vaibhav Kachore <vkachore@nvidia.com> GVS: Gerrit_Virtual_Submit
This commit is contained in:
committed by
mobile promotions
parent
e083bd0df2
commit
cce488d87e
@@ -74,12 +74,17 @@ int init_test_free_env(struct unit_module *m,
|
||||
*
|
||||
* Description: Validate gv11b_get_litter_value()
|
||||
*
|
||||
* Test Type: Feature
|
||||
* Test Type: Feature, Boundary Value
|
||||
*
|
||||
* Targets: gv11b_get_litter_value
|
||||
*
|
||||
* Input: None
|
||||
*
|
||||
* Equivalence classes:
|
||||
* Variable: value
|
||||
* - Valid: {0 - 57}
|
||||
* - Invalid: {58 - INT_MAX}
|
||||
*
|
||||
* Steps:
|
||||
* - Call gv11b_get_litter_value() with all valid values and verify correct
|
||||
* return value.
|
||||
|
||||
Reference in New Issue
Block a user