start-testsuite.sh: allow to skip the configuration file parameter
Allows to use the default configuration file while setting a specific test case. Change-Id: I6b318aea9e1f8b23c283d08e7b06f055fc907cdd
This commit is contained in:
parent
b97efef848
commit
0163666beb
|
@ -13,7 +13,7 @@ SUITE=$1
|
|||
SUITE_DIR="$(dirname "$SUITE")"
|
||||
SUITE_NAME="$(basename "$SUITE")"
|
||||
CFG="$SUITE_NAME.cfg"
|
||||
if [ $# -gt 1 ]; then
|
||||
if [ $# -gt 1 ] && [ "$2" != "" ] ; then
|
||||
CFG=$2
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue