mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 09:57:08 +03:00
This unit test covers the nvgpu allocator high level logic for calling nvgpu allocator imlementation routines. The nvgpu_allocator code is generally very simple. This gets to >90% coverage of the module. Once the fault injection code is merged the failure path after nvgpu_mutex_init() will also be coverable. JIRA NVGPU-903 Change-Id: I7e180da9cbc518b6568c240fd5e67a233b17edc6 Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1927642 Reviewed-by: Philip Elcan <pelcan@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>