diff --git a/test/extension/test.sh b/test/extension/test.sh index ff9de57..ceeb73b 100755 --- a/test/extension/test.sh +++ b/test/extension/test.sh @@ -227,7 +227,12 @@ function run_tests() { local TESTS if [[ $# -ge 1 ]] then - TESTS="$@" + if [[ $# -eq 1 ]] + then + TESTS=`cat $0 | grep -o "$1[^\(]*"` + else + TESTS="$@" + fi else TESTS=`cat $0 | perl -n -e'/function (test.*)\(\)/ && print "$1\n"'` fi