Merge "add pip install timing"

This commit is contained in:
Jenkins 2015-10-13 02:12:33 +00:00 committed by Gerrit Code Review
commit 9e00fef424

View File

@ -80,6 +80,8 @@ function pip_install {
return return
fi fi
time_start "pip_install"
PIP_UPGRADE=$(trueorfalse False PIP_UPGRADE) PIP_UPGRADE=$(trueorfalse False PIP_UPGRADE)
if [[ "$PIP_UPGRADE" = "True" ]] ; then if [[ "$PIP_UPGRADE" = "True" ]] ; then
upgrade="--upgrade" upgrade="--upgrade"
@ -137,6 +139,8 @@ function pip_install {
$cmd_pip $upgrade \ $cmd_pip $upgrade \
-r $test_req -r $test_req
fi fi
time_stop "pip_install"
} }
# get version of a package from global requirements file # get version of a package from global requirements file