58d8b7f42f
git-svn-id: svn://localhost/ardour2/branches/3.0@11150 d708f5d6-7413-0410-9779-e7cbd77b26cf
27 lines
810 B
Bash
Executable File
27 lines
810 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# Run libardour test suite.
|
|
#
|
|
|
|
if [ ! -f './tempo.cc' ]; then
|
|
echo "This script must be run from within the libs/ardour directory";
|
|
exit 1;
|
|
fi
|
|
|
|
srcdir=`pwd`
|
|
cd ../../build
|
|
|
|
libs='libs'
|
|
|
|
export LD_LIBRARY_PATH=$libs/audiographer:$libs/vamp-sdk:$libs/surfaces:$libs/surfaces/control_protocol:$libs/ardour:$libs/midi++2:$libs/pbd:$libs/rubberband:$libs/soundtouch:$libs/gtkmm2ext:$libs/appleutility:$libs/taglib:$libs/evoral:$libs/evoral/src/libsmf:$libs/timecode:/usr/local/lib:/usr/local/lib64:$LD_LIBRARY_PATH
|
|
|
|
export ARDOUR_PANNER_PATH=$libs/panners/2in2out:$libs/panners/1in2out:$libs/panners/vbap
|
|
|
|
if [ "$1" == "--debug" ]; then
|
|
gdb ./libs/ardour/run-tests
|
|
elif [ "$1" == "--valgrind" ]; then
|
|
valgrind ./libs/ardour/run-tests
|
|
else
|
|
./libs/ardour/run-tests $*
|
|
fi
|