Addapted command line switches to current -T behavoir.
This commit is contained in:
parent
a34616760e
commit
8ab950fefb
1 changed files with 18 additions and 5 deletions
17
master.sh
17
master.sh
|
@ -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 ;;
|
||||
|
||||
|
|
Reference in a new issue