gpu: nvgpu: add test case target functions

Add the target function names for posix unit tests.

Jira NVGPU-4478

Change-Id: I393c3d6ba99c96e54812e29dedc8abfe7afcebab
Signed-off-by: ajesh <akv@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2276656
Reviewed-by: Philip Elcan <pelcan@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
ajesh
2020-01-09 20:10:15 +05:30
committed by Alex Waterman
parent 796781313e
commit 6afd472abe
9 changed files with 158 additions and 10 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved.
* Copyright (c) 2019-2020, 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"),
@@ -38,6 +38,8 @@
*
* Test Type: Feature
*
* Targets: nvgpu_rwsem_init
*
* Inputs:
* 1) Global nvgpu_rwsem instance.
*
@@ -60,6 +62,9 @@ int test_rwsem_init(struct unit_module *m,
*
* Test Type: Feature
*
* Targets: nvgpu_rwsem_init, nvgpu_rwsem_down_read,
* nvgpu_rwsem_up_read
*
* Inputs:
* 1) Global nvgpu_rwsem instance.
* 2) Global test_data instance.
@@ -111,6 +116,9 @@ int test_rwsem_read(struct unit_module *m,
*
* Test Type: Feature
*
* Targets: nvgpu_rwsem_init, nvgpu_rwsem_down_write,
* nvgpu_rwsem_up_write
*
* Inputs:
* 1) Global nvgpu_rwsem instance.
* 2) Global test_data instance.