Files
rocm-systems/run_test.sh
T
2018-12-23 23:52:05 -06:00

15 lines
227 B
Bash
Executable File

#!/bin/bash
fatal() {
echo "$1"
exit 1
}
if [ -z "$BUILD_DIR" ] ; then fatal "env var BUILD_DIR is not defined"; fi
if [ -z "$HCC_HOME" ] ; then fatal "env var HCC_HOME is not defined"; fi
cd $BUILD_DIR
./run.sh
exit 0