https://github.com/pou036/redback
Raw File
Tip revision: d24bbff23d93eedef0cfe4b813ab8dcdbe16d3cb authored by moosetest on 18 May 2020, 02:51:35 UTC
Merge commit '8ec8c263d356fade0ced5b14dfad558aba7c6bcd'
Tip revision: d24bbff
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