aboutsummaryrefslogtreecommitdiffstats
path: root/runTags.sh
diff options
context:
space:
mode:
authorJerry Flood <jf9860@att.com>2017-03-22 15:30:25 -0400
committerJerry Flood <jf9860@att.com>2017-03-22 15:30:45 -0400
commit4345ded819aa66219e21377550e0ae3c6e9534ac (patch)
tree6f7d33481807545d58b06c952dd64592c6c53e18 /runTags.sh
parentf67ce0e39027a92c99c7cca39b5a7d5e32dd17fa (diff)
TEST-6 Support gather data listener
Add gather_data_sh and support for EteDataGatherListener into runTags.sh Change-Id: Id161d74ac4ed90c01716d9f8f3ddfd431614f5ba Signed-off-by: Jerry Flood <jf9860@att.com>
Diffstat (limited to 'runTags.sh')
-rw-r--r--runTags.sh13
1 files changed, 9 insertions, 4 deletions
diff --git a/runTags.sh b/runTags.sh
index 29d76fcd..e8a00b77 100644
--- a/runTags.sh
+++ b/runTags.sh
@@ -20,6 +20,7 @@ DISPLAY=${DISPLAY:-$DEFAULT_DISPLAY}
OUTPUT_FOLDER=${OUTPUT_FOLDER:-$DEFAULT_OUTPUT_FOLDER}
VARIABLEFILES=
+LISTENERS=
## Single argument, it is an include tag
if [ $# -eq 1 ]; then
@@ -46,15 +47,19 @@ do
OUTPUT_FOLDER=$2
shift
;;
- --display)
+ --display)
DISPLAY=:$2
shift
;;
- -V)
+ --listener)
+ LISTENERS="${LISTENER} --listener $2 "
+ shift
+ ;;
+ -V)
VARIABLEFILES="${VARIABLEFILES} -V $2 "
shift
;;
- -v)
+ -v)
VARIABLES="${VARIABLES} -v $2 "
shift
;;
@@ -80,7 +85,7 @@ echo -e "Executing robot tests at log level ${LOG_LEVEL}"
ROBOT_LIBS=./robot/library:./robot/library/eteutils:./robot/library/heatbridge
cd /var/opt/${INSTALL_NAME}
-python -m robot.run -L ${LOG_LEVEL} -d ${OUTPUT_FOLDER} ${VARIABLEFILES} ${VARIABLES} -P ${ROBOT_LIBS} ${ROBOT_TAGS} $(pwd)
+python -m robot.run -L ${LOG_LEVEL} -d ${OUTPUT_FOLDER} ${VARIABLEFILES} ${VARIABLES} ${LISTENERS} -P ${ROBOT_LIBS} ${ROBOT_TAGS} $(pwd)
# Stop Xvfb we started earlier
# select it from list of possible Xvfb pids running because