From 910a7a6c8b26a01e68c22ccbccf6af4d7d79f314 Mon Sep 17 00:00:00 2001 From: Karanbir Singh Date: Jul 22 2012 11:23:23 +0000 Subject: only run 1 test if its defied --- diff --git a/runtests.sh b/runtests.sh index b54f600..addf7d4 100755 --- a/runtests.sh +++ b/runtests.sh @@ -19,13 +19,13 @@ set -e set -u # process our test scripts -if [ $1 == 'All' ]; then +if [ $1 ]; then + t_Process tests/$1 +else t_Process <(/usr/bin/find ./tests/0_*/ -type f|sort -t'/' ) t_Process <(/usr/bin/find ./tests/p_*/ -type f|sort -t'/' ) t_Process <(/usr/bin/find ./tests/r_*/ -type f|sort -t'/' ) t_Process <(/usr/bin/find ./tests/z_*/ -type f|sort -t'/' ) -else - t_Process tests/$1 fi # and, we're done.