get_test_suites SUITES
echo "Starting Robot test suites ${SUITES} ..."
+# ${TESTOPTIONS}, ${SUITES} are space-separated parameters and should not be quoted.
+# shellcheck disable=SC2086
robot -N "${TESTPLAN}" \
--removekeywords wuks -c critical -e exclude -e "skip_if_${DISTROSTREAM}" \
-v BUNDLEFOLDER:"${BUNDLEFOLDER}" \
-v NUM_ODL_SYSTEM:"${NUM_ODL_SYSTEM}" \
-v NUM_TOOLS_SYSTEM:"${NUM_TOOLS_SYSTEM}" \
-v ODL_STREAM:"${DISTROSTREAM}" \
- -v ODL_SYSTEM_IP:"${ODL_SYSTEM_IP}" "${odl_variables}" \
+ -v ODL_SYSTEM_IP:"${ODL_SYSTEM_IP}" ${odl_variables} \
-v ODL_SYSTEM_USER:"${USER}" \
- -v TOOLS_SYSTEM_IP:"${TOOLS_SYSTEM_IP}" "${tools_variables}" \
+ -v TOOLS_SYSTEM_IP:"${TOOLS_SYSTEM_IP}" ${tools_variables} \
-v TOOLS_SYSTEM_USER:"${USER}" \
-v USER_HOME:"${HOME}" \
-v WORKSPACE:/tmp \
- "${TESTOPTIONS}" "${SUITES}" || true
+ ${TESTOPTIONS} ${SUITES} || true