Add test running script in source directory.
authorDavid Robillard <d@drobilla.net>
Tue, 27 Oct 2009 16:18:57 +0000 (16:18 +0000)
committerDavid Robillard <d@drobilla.net>
Tue, 27 Oct 2009 16:18:57 +0000 (16:18 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@5946 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/run-tests.sh [new file with mode: 0755]

diff --git a/libs/ardour/run-tests.sh b/libs/ardour/run-tests.sh
new file mode 100755 (executable)
index 0000000..85ddfea
--- /dev/null
@@ -0,0 +1,11 @@
+#!/bin/sh
+export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:../../build/default/libs/ardour
+if [ ! -f './bbt_time.cc' ]; then
+    echo "This script must be run from within the libs/ardour directory";
+       exit 1;
+fi
+
+srcdir=`pwd`
+
+cd ../../build/default/libs/ardour
+./run-tests