summaryrefslogblamecommitdiffstats
path: root/userspace/unit.sh
blob: 078512f84533189695fd456b9693eac758e3266e (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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 $*