Skip to content

Commit

Permalink
validate input to runtests.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
fivethreeo committed Feb 3, 2011
1 parent a9803ef commit 0c778ae
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions runtests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ case "${args[$index]}" in
"--failfast")
failfast="--failfast"
;;

"--with-coverage")
disable_coverage=false
;;

"--toxenv")
let "index = $index + 1"
Expand Down Expand Up @@ -54,8 +50,6 @@ case "${args[$index]}" in
let "index = $index + 1"
done

echo "using python at: $python"

if [ ! "$toxenv" ]; then
toxenv='ALL'
fi
Expand All @@ -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

Expand Down

0 comments on commit 0c778ae

Please sign in to comment.