diff options
author | Hans Baier <hansfbaier@googlemail.com> | 2012-10-09 03:17:55 +0000 |
---|---|---|
committer | Hans Baier <hansfbaier@googlemail.com> | 2012-10-09 03:17:55 +0000 |
commit | 5c2d7d36441131306b21b96f135ffd0a91b0c876 (patch) | |
tree | 4cf5d809cba535fde443012be953fee6dbfa4edf /libs/midi++2 | |
parent | 9a19da77e34df3eddbfaf49c42582e9dc832a5ff (diff) |
add missing unit test runner shell script for midi++
git-svn-id: svn://localhost/ardour2/branches/3.0@13220 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/midi++2')
-rwxr-xr-x | libs/midi++2/run-tests.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/libs/midi++2/run-tests.sh b/libs/midi++2/run-tests.sh new file mode 100755 index 0000000000..36ef09d80b --- /dev/null +++ b/libs/midi++2/run-tests.sh @@ -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 |