mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 15:54:57 +01:00
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
This commit is contained in:
parent
23c0452e05
commit
4fe6bf3530
1 changed files with 8 additions and 8 deletions
|
|
@ -1,14 +1,14 @@
|
|||
#!/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
|
||||
SCRIPTPATH=$( cd $(dirname $0) ; pwd -P )
|
||||
TOP="$SCRIPTPATH/../.."
|
||||
LIBS_DIR="$TOP/build/libs"
|
||||
|
||||
# Make symlink to TakeFive.mid in build directory
|
||||
cd ../../build/libs/midi++2
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue