Merge "Clean up additional INSTALL_TESTONLY_PACKAGES bits"

This commit is contained in:
Jenkins 2015-03-27 17:34:05 +00:00 committed by Gerrit Code Review
commit 9513b31fa2
3 changed files with 1 additions and 15 deletions

View File

@ -417,18 +417,6 @@ IP Version
can be configured with any valid IPv6 prefix. The default values make can be configured with any valid IPv6 prefix. The default values make
use of an auto-generated ``IPV6_GLOBAL_ID`` to comply with RFC 4193.* use of an auto-generated ``IPV6_GLOBAL_ID`` to comply with RFC 4193.*
Unit tests dependencies install
-------------------------------
| *Default: ``INSTALL_TESTONLY_PACKAGES=False``*
| In order to be able to run unit tests with script ``run_test.sh``,
the required package dependencies need to be installed.
Setting this option as below does the work.
::
INSTALL_TESTONLY_PACKAGES=True
Examples Examples
======== ========

View File

@ -909,8 +909,6 @@ function get_packages {
local file_to_parse="" local file_to_parse=""
local service="" local service=""
INSTALL_TESTONLY_PACKAGES=$(trueorfalse False INSTALL_TESTONLY_PACKAGES)
if [[ -z "$package_dir" ]]; then if [[ -z "$package_dir" ]]; then
echo "No package directory supplied" echo "No package directory supplied"
return 1 return 1

View File

@ -53,7 +53,7 @@ function get_python_exec_prefix {
} }
# Wrapper for ``pip install`` to set cache and proxy environment variables # Wrapper for ``pip install`` to set cache and proxy environment variables
# Uses globals ``INSTALL_TESTONLY_PACKAGES``, ``OFFLINE``, ``PIP_VIRTUAL_ENV``, # Uses globals ``OFFLINE``, ``PIP_VIRTUAL_ENV``,
# ``PIP_UPGRADE``, ``TRACK_DEPENDS``, ``*_proxy`` # ``PIP_UPGRADE``, ``TRACK_DEPENDS``, ``*_proxy``
# pip_install package [package ...] # pip_install package [package ...]
function pip_install { function pip_install {