Skip to content

Commit 713fd2f

Browse files
author
Sirushti Murugesan
committed
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
1 parent 767c729 commit 713fd2f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

inc/python

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ function pip_install {
124124
$@
125125

126126
# Also install test requirements
127-
local test_req="$@/test-requirements.txt"
127+
local test_req="${!#}/test-requirements.txt"
128128
if [[ -e "$test_req" ]]; then
129129
echo "Installing test-requirements for $test_req"
130130
$sudo_pip \

0 commit comments

Comments
 (0)