From e9529d26e1a5cfceefc0e840e04811cec019b059 Mon Sep 17 00:00:00 2001 From: Tim Mayberry Date: Fri, 16 Aug 2013 21:08:57 +1000 Subject: [PATCH] Add --list option to script to run ardour tests with wine --- tools/windows_packaging/wine-ardour-tests.sh | 9 +++++++++ 1 file changed, 9 insertions(+) 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*"