13
0
livetrax/libs/midi++2/run-tests.sh
David Robillard fa8d0268eb Fix compilation with --test.
Make midnam test suite pass again.

The Ardour test suite does not pass.  I commented out old crossfade stuff, but
I am not familiar enough with the parts that fail to fix it.  It might be a
good idea for someone to look into this.  Ideally we'd have the test integrated
into everyone's workflow, but they add quite a few files to compile...


git-svn-id: svn://localhost/ardour2/branches/3.0@13931 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-20 18:23:42 +00:00

17 lines
464 B
Bash
Executable File

#!/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