mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 03:36:32 +01:00
add missing unit test runner shell script for midi++
git-svn-id: svn://localhost/ardour2/branches/3.0@13220 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
9a19da77e3
commit
5c2d7d3644
1 changed files with 17 additions and 0 deletions
17
libs/midi++2/run-tests.sh
Executable file
17
libs/midi++2/run-tests.sh
Executable file
|
|
@ -0,0 +1,17 @@
|
||||||
|
#!/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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue