Addapted command line switches to current -T behavoir.

This commit is contained in:
Manuel Canales Esparcia 2006-03-16 18:50:00 +00:00
parent a34616760e
commit 8ab950fefb

View file

@ -166,10 +166,23 @@ while test $# -gt 0 ; do
fi
;;
--testsuites | -T ) TEST=1 ;;
--testsuites | -T )
test $# = 1 && eval "$exit_missing_arg"
shift
case $1 in
0 | 1 | 2 | 3 )
TEST=$1
;;
* )
echo -e "\n$1 isn't a valid testsuites level value."
echo -e "You must to use 0, 1, 2, or 3.\n"
exit 1
;;
esac
;;
--get-packages | -P ) HPKG=1 ;;
--run-make | -M ) RUNMAKE=1 ;;
--no-toolchain-test ) TOOLCHAINTEST=0 ;;
--no-strip ) STRIP=0 ;;
--no-vim-lang ) VIMLANG=0 ;;