13
0
livetrax/libs/midi++2/run-tests.sh
Tim Mayberry 4fe6bf3530 export MIDIPP_TEST_PATH in midi++ test script so test files can be located
Modify formatting of script to be consistant with other test scripts
2014-12-03 17:31:04 +07:00

17 lines
343 B
Bash
Executable File

#!/bin/sh
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
cd $LIBS_DIR/midi++2
if [ "$1" == "debug" ]; then
gdb ./run-tests
else
./run-tests
fi