mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 09:12:24 +03:00
gpu: nvgpu: unit: add worker unit test
Add unit test for worker unit. To get full coverage, a new fault injection is added for the thread API nvgpu_thread_is_running to return true after a number of executions. JIRA NVGPU-915 Change-Id: Ib631d4af7dac3dde37bed3b5de81f3164a6df1b0 Signed-off-by: Philip Elcan <pelcan@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2265714 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
7a1b5c0d44
commit
6800aa7c51
@@ -1,6 +1,6 @@
|
||||
################################### tell Emacs this is a -*- makefile-gmake -*-
|
||||
#
|
||||
# Copyright (c) 2018-2019, NVIDIA CORPORATION. All rights reserved.
|
||||
# Copyright (c) 2018-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"),
|
||||
@@ -51,6 +51,7 @@ NV_REPOSITORY_COMPONENTS += userspace/units/interface/bsearch
|
||||
NV_REPOSITORY_COMPONENTS += userspace/units/interface/lock
|
||||
NV_REPOSITORY_COMPONENTS += userspace/units/interface/atomic
|
||||
NV_REPOSITORY_COMPONENTS += userspace/units/interface/rbtree
|
||||
NV_REPOSITORY_COMPONENTS += userspace/units/interface/worker
|
||||
NV_REPOSITORY_COMPONENTS += userspace/units/bus
|
||||
NV_REPOSITORY_COMPONENTS += userspace/units/pramin
|
||||
NV_REPOSITORY_COMPONENTS += userspace/units/priv_ring
|
||||
|
||||
Reference in New Issue
Block a user