mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 09:12:24 +03:00
gpu: nvgpu: unit: Add unit testing FW
Full documentation for this is in the unit testing confluence page. JIRA NVGPU-525 Bug 2261555 Change-Id: I463e6267eb0eb12b7313f8b275266e8faabe5ccf Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1683915 GVS: Gerrit_Virtual_Submit Reviewed-by: Konsta Holtta <kholtta@nvidia.com> Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
6e746a97cc
commit
691bf90445
16
userspace/unit.sh
Executable file
16
userspace/unit.sh
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
#
|
||||
# Execute the unit test. Args to this script are passed on to the unit test
|
||||
# core. This just serves to set the LD_LIBRARY_PATH environment variable such
|
||||
# that unit tests are found and nvgpu-drv is found.
|
||||
#
|
||||
|
||||
LD_LIBRARY_PATH="build:build/units"
|
||||
NVGPU_UNIT=build/nvgpu_unit
|
||||
|
||||
export LD_LIBRARY_PATH
|
||||
|
||||
echo "$ $NVGPU_UNIT $*"
|
||||
|
||||
$NVGPU_UNIT $*
|
||||
Reference in New Issue
Block a user