FIX: Perpatch PY3
[csit.git] / resources / libraries / bash / function / per_patch.sh
index b5bac78..919789b 100644 (file)
@@ -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.
 }