summaryrefslogtreecommitdiff
path: root/gtk2_ardour/artest
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/artest')
-rwxr-xr-xgtk2_ardour/artest10
1 files changed, 8 insertions, 2 deletions
diff --git a/gtk2_ardour/artest b/gtk2_ardour/artest
index cd2a55cdd5..c4a79ab249 100755
--- a/gtk2_ardour/artest
+++ b/gtk2_ardour/artest
@@ -1,5 +1,9 @@
#!/bin/sh
-. `dirname "$0"`/../build/gtk2_ardour/ardev_common_waf.sh
+
+REL_TOP=`dirname "$0"`/..
+TOP=`realpath $REL_TOP`
+
+. $TOP/build/gtk2_ardour/ardev_common_waf.sh
LIBS_DIR=$TOP/build/libs
@@ -9,7 +13,9 @@ run_tests () {
echo "Running tests for $1..."
echo "-------------------------------------------"
echo ""
- $2 $LIBS_DIR/$1/run-tests
+ cd $LIBS_DIR/$1
+ $2 ./run-tests
+ cd -
echo ""
}