https://github.com/pou036/redback
Raw File
Tip revision: e5ae6bac0c0f44b835a530526b08c1c8708d874f authored by Thomas Poulet on 20 February 2018, 23:24:14 UTC
Merge branch 'master' into 146_OCR
Tip revision: e5ae6ba
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