https://github.com/pou036/redback
Raw File
Tip revision: 2e9e7628b1c1757e908f1146eab61dbdd1619365 authored by - on 20 March 2018, 06:46:29 UTC
cleanup of dummy var
Tip revision: 2e9e762
run_tests
#!/bin/bash

APPLICATION_NAME=redback
# If $METHOD is not set, use opt
if [ -z $METHOD ]; then
  export METHOD=opt
fi

if [ -e ./unit/$APPLICATION_NAME-unit-$METHOD ]
then
  ./unit/$APPLICATION_NAME-unit-$METHOD
elif [ -e ./$APPLICATION_NAME-unit-$METHOD ]
then
  ./$APPLICATION_NAME-unit-$METHOD
else
  echo "Executable missing!"
  exit 1
fi
back to top