https://github.com/pou036/redback
Raw File
Tip revision: 0c252300430aacb498c58c1441dd0e256abb1b38 authored by mlesueur on 30 October 2022, 16:05:43 UTC
#1 updated
Tip revision: 0c25230
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