Files
rocm-systems/projects/rdc/tests/rdc_tests/run_build.sh
T
Chris Freehill 77683bf0e8 Add Google test based tests.
Initial testing include an "id test", which really just a
template test at this point, and a temperature sensor test.

The google test code is included in this commit. It will
eventually be taken out and replaced with a pull from a google
external repo.

Change-Id: I591818a9c169f4654fc8d8f17cf648f227d72545


[ROCm/rdc commit: ca4344f5fa]
2020-08-17 14:06:56 -05:00

21 lines
304 B
Bash
Executable File

#!/bin/bash
# these are required:
#ROCM_DIR=/home/cfreehil/github/rocm_smi_lib/build
#ROCM_DIR=/opt/rocm
ROCM_DIR=/opt/rocm
mkdir -p build
cd build
cmake -DRDCTST_BLD_TYPE=$RDCTST_BLD_TYPE \
-DROCM_DIR=$ROCM_DIR \
-DROCRTST_BLD_TYPE="Debug" \
..
echo "Executing \"make\"..."
make
cd ..