summaryrefslogtreecommitdiff
path: root/gtk2_ardour/artest
diff options
context:
space:
mode:
authorSakari Bergen <sakari.bergen@beatwaves.net>2014-01-08 22:00:34 +0200
committerSakari Bergen <sakari.bergen@beatwaves.net>2014-01-08 22:00:34 +0200
commitf45ec9f87ba140560038fd36d31c1324e779548f (patch)
tree59417608fba6fe9987e671db73beaf397e0f7ab4 /gtk2_ardour/artest
parent3a5989919350844722129bf7fe664c8609c4c65a (diff)
Add unit test runner (artest) and a config option to run tests after builds
Diffstat (limited to 'gtk2_ardour/artest')
-rwxr-xr-xgtk2_ardour/artest25
1 files changed, 25 insertions, 0 deletions
diff --git a/gtk2_ardour/artest b/gtk2_ardour/artest
new file mode 100755
index 0000000000..cd2a55cdd5
--- /dev/null
+++ b/gtk2_ardour/artest
@@ -0,0 +1,25 @@
+#!/bin/sh
+. `dirname "$0"`/../build/gtk2_ardour/ardev_common_waf.sh
+
+LIBS_DIR=$TOP/build/libs
+
+run_tests () {
+ echo ""
+ echo "-------------------------------------------"
+ echo "Running tests for $1..."
+ echo "-------------------------------------------"
+ echo ""
+ $2 $LIBS_DIR/$1/run-tests
+ echo ""
+}
+
+if [ $# -gt 0 ]; then
+ run_tests $1 $2
+ exit
+fi
+
+run_tests audiographer
+run_tests midi++2
+run_tests evoral
+run_tests pbd
+run_tests ardour