From 713fd2f6c644e13ed8ad7e8d819f6a3d44ff5370 Mon Sep 17 00:00:00 2001 From: Sirushti Murugesan Date: Wed, 30 Sep 2015 15:12:50 +0530 Subject: [PATCH] Additionally install test-requirements with pip_install When moving to Python 3, we also need to install test-requriements to allow projects to install any python 3 test dependencies they might be missing otherwise. Change-Id: I2d19aa2f7ec8de869a82aa7764ab72cc8693101f --- inc/python | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/python b/inc/python index 210a9dbdfe..fd0d616b62 100644 --- a/inc/python +++ b/inc/python @@ -124,7 +124,7 @@ function pip_install { $@ # Also install test requirements - local test_req="$@/test-requirements.txt" + local test_req="${!#}/test-requirements.txt" if [[ -e "$test_req" ]]; then echo "Installing test-requirements for $test_req" $sudo_pip \