summaryrefslogtreecommitdiff
path: root/tools/windows_packaging
diff options
context:
space:
mode:
authorTim Mayberry <mojofunk@gmail.com>2013-08-16 21:08:57 +1000
committerTim Mayberry <mojofunk@gmail.com>2013-12-07 20:48:19 +1000
commite9529d26e1a5cfceefc0e840e04811cec019b059 (patch)
tree7d78caa3a58b7a57a2fd15169fb87a801b2205ab /tools/windows_packaging
parent7e42cafe395e934d966938728e72b03c1167fb42 (diff)
Add --list option to script to run ardour tests with wine
Diffstat (limited to 'tools/windows_packaging')
-rwxr-xr-xtools/windows_packaging/wine-ardour-tests.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/windows_packaging/wine-ardour-tests.sh b/tools/windows_packaging/wine-ardour-tests.sh
index 6556c8a9c4..a4bd033c8b 100755
--- a/tools/windows_packaging/wine-ardour-tests.sh
+++ b/tools/windows_packaging/wine-ardour-tests.sh
@@ -2,6 +2,15 @@
. ./wine-env.sh
+if [ "$1" == "--list" ]; then
+ TESTS='test_*'
+ for test_program in `find -name "$TESTS" -type f -perm /u+x`;
+ do
+ echo "$test_program"
+ done
+ exit 0
+fi
+
if [ "$1" == "--single" ] || [ "$2" == "--single" ]; then
if [ "$1" == "--single" ]; then
TESTS="test_*$2*"