Don't move automation to follow region when a region has only been trimmed rather...
[ardour.git] / libs / ardour / run-tests.sh
index 38be6c589135a86b9a5ee36e826358f4da0fdca2..91ac3e2ee707432ba5e1d0f5c681779d45994566 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 if [ ! -f './tempo.cc' ]; then
     echo "This script must be run from within the libs/ardour directory";
@@ -12,6 +12,11 @@ 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/sigc++2:$libs/glibmm2:$libs/gtkmm2/atk:$libs/gtkmm2/pango:$libs/gtkmm2/gdk:$libs/gtkmm2/gtk:$libs/libgnomecanvasmm:$libs/libsndfile:$libs/appleutility:$libs/cairomm:$libs/taglib:$libs/evoral:$libs/evoral/src/libsmf:$LD_LIBRARY_PATH
 
-echo LD_LIBRARY_PATH = $LD_LIBRARY_PATH
+echo LD_LIBRARY_PATH=$LD_LIBRARY_PATH
 
-./libs/ardour/run-tests
+if [ "$1" == "--debug" ]
+then
+        gdb ./libs/ardour/run-tests
+else
+        ./libs/ardour/run-tests
+fi