[Fuego] [PATCH 2/4] linaro: update to python3

Daniel Sangorrin <[email protected]> Fri, 20 Aug 2021 15:20:08 +0900
Newsgroups dev.linux.lists.fuego
Message-ID <c15630413692c89c674a2f98f9f2b7fcfc88f5d7.1629440060.git.daniel.sangorrin@toshiba.co.jp>
From: Nguyen Dat Tho <[email protected]>

The upstream linaro repository[1] now uses python3 so
use pip3 to install the requirements

[1] https://github.com/Linaro/test-definitions

Signed-off-by: Nguyen Dat Tho <[email protected]>
Signed-off-by: Daniel Sangorrin <[email protected]>
---
 tests/Functional.linaro/fuego_test.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests/Functional.linaro/fuego_test.sh b/tests/Functional.linaro/fuego_test.sh
index 677ab49..c775baa 100755
--- a/tests/Functional.linaro/fuego_test.sh
+++ b/tests/Functional.linaro/fuego_test.sh
@@ -26,8 +26,10 @@ function test_pre_check {
 }
 
 function test_build {
+    apt-get install python3-pip
     source ./automated/bin/setenv.sh
-    pip install -r $REPO_PATH/automated/utils/requirements.txt --user
+    pip3 install setuptools --user
+    pip3 install -r $REPO_PATH/automated/utils/requirements.txt --user
 }
 
 function test_run {
-- 
2.17.1