summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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*"