From 0c778ae5742645aa417256e127f61de7437a9ccc Mon Sep 17 00:00:00 2001 From: fivethreeo Date: Thu, 3 Feb 2011 02:05:56 +0100 Subject: [PATCH] validate input to runtests.sh --- runtests.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/runtests.sh b/runtests.sh index f81a3590457..a3e9bda1fdd 100644 --- a/runtests.sh +++ b/runtests.sh @@ -13,10 +13,6 @@ case "${args[$index]}" in "--failfast") failfast="--failfast" ;; - - "--with-coverage") - disable_coverage=false - ;; "--toxenv") let "index = $index + 1" @@ -54,8 +50,6 @@ case "${args[$index]}" in let "index = $index + 1" done -echo "using python at: $python" - if [ ! "$toxenv" ]; then toxenv='ALL' fi @@ -67,6 +61,10 @@ fi if [ ! "$suite" ]; then echo "Running complete cms testsuite." else + if [ $quicktest == false ]; then + echo "Can only run specific suite with --quicktesr" + exit 1 + fi echo "Running cms test $suite." fi