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"),
@@ -88,6 +88,10 @@ struct unit_test_thread_data test_data;
*
* Test Type: Feature
*
* Targets: nvgpu_thread_create, nvgpu_thread_create_priority,
* nvgpu_thread_is_running, nvgpu_thread_stop,
* nvgpu_thread_stop_graceful, nvgpu_thread_should_stop,
* nvgpu_thread_join
* Inputs:
* 1) Pointer to test_thread_args as function parameter
* 2) Global instance of struct nvgpu_thread