From 24cac1820970e20b8b195b90c44c49c0d8a9962a Mon Sep 17 00:00:00 2001 From: Karanbir Singh Date: Jul 22 2012 11:17:16 +0000 Subject: make it possible to run just one test --- diff --git a/runtests.sh b/runtests.sh index a5e8427..b54f600 100755 --- a/runtests.sh +++ b/runtests.sh @@ -19,10 +19,14 @@ set -e set -u # process our test scripts -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'/' ) +if [ $1 == 'All' ]; then + 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. t_Log "QA t_functional tests finished."