13
0
livetrax/libs/midi++2/run-tests.sh
Hans Baier 5c2d7d3644 add missing unit test runner shell script for midi++
git-svn-id: svn://localhost/ardour2/branches/3.0@13220 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-09 03:17:55 +00:00

18 lines
463 B
Bash
Executable File

#!/bin/sh
srcdir=`pwd`
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$srcdir/../../build/libs/midi++:$srcdir/../../build/libs/pbd:$srcdir/../../build/libs/evoral:$srcdir/../../build/libs/timecode
if [ ! -d '../../patchfiles' ]; then
echo "This script must be run from within the libs/midi++ directory";
exit 1;
fi
# Make symlink to TakeFive.mid in build directory
cd ../../build/libs/midi++2
if [ "$1" == "debug" ]
then
gdb ./run-tests
else
./run-tests
fi