aboutsummaryrefslogtreecommitdiffstats
path: root/csit/run-project-csit.sh
diff options
context:
space:
mode:
authorarkadiusz.adamski <aadamski@est.tech>2021-05-24 12:50:40 +0100
committerJim Hahn <jrh3@att.com>2021-06-04 10:26:08 -0400
commit58fcc9268a667348d45cf338da686d12cfcf8064 (patch)
tree6e398c4263044fe677f1b2b39b2190bcc5e82761 /csit/run-project-csit.sh
parent3b3d1dfc6274944c52434528da342f843e0044b5 (diff)
Use python3 for CSITs
- use python3 and pip3 in scripts - update robot-framework-http library, so it can use python3 - update selenium2library, so it can use python3 Fixed merge conflict from cherry pick: - prepare-csit.sh Changed to github instead of gerrit-mirror, as the mirror is flakey and broke one of the CSIT verify jobs. Issue-ID: POLICY-3092 Signed-off-by: arkadiusz.adamski <aadamski@est.tech> Change-Id: I5a6a4fe43e54366859049e1d43bbce599dacd14e (cherry picked from commit 2b1e8d08ed869124e4a363a0c5f58999f487a4be) Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'csit/run-project-csit.sh')
-rwxr-xr-xcsit/run-project-csit.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/csit/run-project-csit.sh b/csit/run-project-csit.sh
index 8941a0fa..3b4d0764 100755
--- a/csit/run-project-csit.sh
+++ b/csit/run-project-csit.sh
@@ -3,6 +3,7 @@
# Copyright 2016-2017 Huawei Technologies Co., Ltd.
# Modification Copyright 2019 © Samsung Electronics Co., Ltd.
# Modification Copyright 2021 © AT&T Intellectual Property.
+# Modification Copyright 2021. Nordix Foundation.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -187,7 +188,7 @@ SUITES=$( xargs -a testplan.txt )
echo ROBOT_VARIABLES="${ROBOT_VARIABLES}"
echo "Starting Robot test suites ${SUITES} ..."
relax_set
-python -m robot.run -N ${PROJECT} -v WORKSPACE:/tmp ${ROBOT_VARIABLES} ${SUITES}
+python3 -m robot.run -N ${PROJECT} -v WORKSPACE:/tmp ${ROBOT_VARIABLES} ${SUITES}
RESULT=$?
load_set
echo "RESULT: ${RESULT}"