summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2019-05-16 17:08:36 +0200
committerAlexander Couzens <lynxis@fe80.eu>2019-05-16 17:08:36 +0200
commit0163666bebe4c1e6edce5b0b1ef11ec43d391488 (patch)
treec9cd61cf0505f79fd890d248204f65fe05b36952
parentb97efef8484e7c5bfd6e7579e8b4a1bc78d17ccd (diff)
start-testsuite.sh: allow to skip the configuration file parameterlynxis/specify_specific_tests
Allows to use the default configuration file while setting a specific test case. Change-Id: I6b318aea9e1f8b23c283d08e7b06f055fc907cdd
-rwxr-xr-xstart-testsuite.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/start-testsuite.sh b/start-testsuite.sh
index 5740d3d..997d120 100755
--- a/start-testsuite.sh
+++ b/start-testsuite.sh
@@ -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