2012-10-08 23:17:55 -04:00
|
|
|
#!/bin/sh
|
|
|
|
|
2014-12-01 21:27:55 -05:00
|
|
|
SCRIPTPATH=$( cd $(dirname $0) ; pwd -P )
|
|
|
|
TOP="$SCRIPTPATH/../.."
|
|
|
|
LIBS_DIR="$TOP/build/libs"
|
|
|
|
|
|
|
|
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$LIBS_DIR/midi++:$LIBS_DIR/pbd:$LIBS_DIR/evoral:$LIBS_DIR/timecode
|
|
|
|
|
|
|
|
export MIDIPP_TEST_PATH=$TOP/patchfiles
|
2012-10-08 23:17:55 -04:00
|
|
|
|
2014-12-01 21:27:55 -05:00
|
|
|
cd $LIBS_DIR/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
|