https://github.com/pou036/redback
Raw File
Tip revision: 4bfc96340cd56758dd64f4f9119a93c5b4a178cb authored by Stuart Walsh on 14 June 2016, 22:40:07 UTC
Added some terms to prevent negative damage
Tip revision: 4bfc963
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