diff --git a/run_tests.sh b/run_tests.sh index 896f1042..74348897 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -19,9 +19,15 @@ function usage echo "BIN_DIR:${BIN_DIR}" } -while getopts 'hcp:' opt; do +function list +{ + find ${BASE_DIR}/scenarios/ -depth -maxdepth 1 -mindepth 1 -type d -exec basename {} \;| grep -v templates | sort +} + +while getopts 'hlcp:' opt; do case $opt in h) usage; exit 0;; + l) list; exit 0;; c) SKIP=1;; p) PROFILE=$OPTARG;; esac