2012-10-08 23:17:55 -04:00
|
|
|
#!/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
|
2013-01-20 13:23:42 -05:00
|
|
|
if [ "$1" == "debug" ]; then
|
2012-10-08 23:17:55 -04:00
|
|
|
gdb ./run-tests
|
|
|
|
else
|
|
|
|
./run-tests
|
|
|
|
fi
|