Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions tests/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ function show_help_and_exit()
echo " -s : specify list of scripts to skip (default: none)"
echo " -t : specify toplogy: t0|t1|any|combo like t0,any (*)"
echo " -u : bypass util group"
echo " -x : print commands and their arguments as they are executed"

exit $1
}
Expand Down Expand Up @@ -71,7 +72,7 @@ function setup_environment()

export ANSIBLE_CONFIG=${BASE_PATH}/ansible
export ANSIBLE_LIBRARY=${BASE_PATH}/ansible/library/
}
}

function setup_test_options()
{
Expand Down Expand Up @@ -202,7 +203,7 @@ function run_individual_tests()

setup_environment

while getopts "h?c:d:e:f:i:k:l:m:n:op:rs:t:u" opt; do
while getopts "h?c:d:e:f:i:k:l:m:n:op:rs:t:u:x" opt; do
case ${opt} in
h|\? )
show_help_and_exit 0
Expand Down Expand Up @@ -252,6 +253,9 @@ while getopts "h?c:d:e:f:i:k:l:m:n:op:rs:t:u" opt; do
u )
BYPASS_UTIL="True"
;;
x )
set -x
;;
esac
done

Expand Down