mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
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>
17 lines
353 B
Bash
Executable File
17 lines
353 B
Bash
Executable File
#!/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 $*
|