aboutsummaryrefslogtreecommitdiffstats
path: root/docs/release
diff options
context:
space:
mode:
authorRoss Brattain <ross.b.brattain@intel.com>2017-08-25 13:10:37 -0700
committerRoss Brattain <ross.b.brattain@intel.com>2017-08-25 13:26:05 -0700
commit78daa59cd6c48046ee3fdfaa93e05ccbb1b2cbc7 (patch)
treea0db90a5d2032e40dd85b55c706eb09f701159bb /docs/release
parent1669878aa5350a793f6599226e3e91d79c961278 (diff)
collectd: disable auto-provision
auto-provision requires Internet access inside the VNF, which may not be the case. Change-Id: I2b5b73e1b80074356943c5e3152c3e6a318f3ca4 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
Diffstat (limited to 'docs/release')
0 files changed, 0 insertions, 0 deletions
background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
#!/bin/bash
set -o errexit
set -o pipefail

# Either Workspace is set (CI)
if [ -z $WORKSPACE ]
then
    WORKSPACE="."
fi


# ***************
# Run unit tests
# ***************
echo "Running unit tests..."

# start vitual env
virtualenv $WORKSPACE/modules_venv
source $WORKSPACE/modules_venv/bin/activate

# install python packages
easy_install -U setuptools
easy_install -U pip
pip install $WORKSPACE


# unit tests
nosetests --with-xunit \
         --cover-package=opnfv \
         --with-coverage \
         --cover-xml \
         --cover-html \
         tests/unit
rc=$?

deactivate