https://github.com/pou036/redback
Raw File
Tip revision: d975e7248378200c8e4415fb4bf5b1ad6ebf3361 authored by Jack Lin on 09 February 2016, 00:54:25 UTC
Cleaned up.
Tip revision: d975e72
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