Add --list option to script to run ardour tests with wine

This commit is contained in:
Tim Mayberry 2013-08-16 21:08:57 +10:00
parent 7e42cafe39
commit e9529d26e1

View file

@ -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*"