From 9a936616eea7236ca8183f632d01d62109e12b29 Mon Sep 17 00:00:00 2001 From: Peter Mikus Date: Mon, 2 Dec 2019 14:22:16 +0000 Subject: FIX: Perpatch PY3 Signed-off-by: Peter Mikus Change-Id: Iae97cf4490fea38f5f03bdaa120ee7ae48b941ab --- resources/libraries/bash/function/per_patch.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'resources/libraries/bash/function') diff --git a/resources/libraries/bash/function/per_patch.sh b/resources/libraries/bash/function/per_patch.sh index b5bac78d4a..919789b5f4 100644 --- a/resources/libraries/bash/function/per_patch.sh +++ b/resources/libraries/bash/function/per_patch.sh @@ -109,10 +109,10 @@ function compare_test_results () { cd "${VPP_DIR}" || die "Change directory operation failed." # Reusing CSIT main virtualenv. - pip install -r "${PYTHON_SCRIPTS_DIR}/perpatch_requirements.txt" || { + pip3 install -r "${PYTHON_SCRIPTS_DIR}/perpatch_requirements.txt" || { die "Perpatch Python requirements installation failed." } - python "${PYTHON_SCRIPTS_DIR}/compare_perpatch.py" + python3 "${PYTHON_SCRIPTS_DIR}/compare_perpatch.py" # The exit code determines the vote result. } -- cgit 1.2.3-korg