gpu: nvgpu: add more tests for bug

Add more tests as part of Bug UT.

Jira NVGPU-4478

Change-Id: If9141ded41e9b9e97d03fa26c7404b85fa253014
Signed-off-by: ajesh <akv@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2284669
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com>
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
GVS: Gerrit_Virtual_Submit
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
ajesh
2020-01-24 15:08:26 +05:30
committed by Alex Waterman
parent 5589e60822
commit eac3137c60
2 changed files with 24 additions and 1 deletions

View File

@@ -37,7 +37,8 @@
*
* Test Type: Feature
*
* Targets: nvgpu_posix_bug, dump_stack
* Targets: nvgpu_posix_bug, dump_stack,
* BUG, BUG_ON
*
* Inputs: None
*
@@ -47,6 +48,7 @@
* which cannot be run in unit test framework will not be executed.
* 3) EXPECT_BUG is also tested to make sure that BUG is not called where it is
* not expected.
* 4) Steps 1 and 2 are also executed to test the macro BUG_ON.
*
* Output:
* The test returns PASS if BUG is called as expected based on the parameters