diff options
author | Serena Feng <feng.xiaowei@zte.com.cn> | 2017-07-25 01:46:17 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-07-25 01:46:17 +0000 |
commit | 4cea5862dfc7b44c902abef802de206db4a9c1b4 (patch) | |
tree | e696ee9a37ac980b901f8d7e51b826db11187603 | |
parent | 0c8fda114b79ccf877a28d270f835317a9e847d6 (diff) | |
parent | 879f3f79131ef280e9e61847df8f089a266a1d9c (diff) |
Merge "delete obsolete run_test.sh"
-rwxr-xr-x | utils/test/testapi/run_test.sh | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/utils/test/testapi/run_test.sh b/utils/test/testapi/run_test.sh deleted file mode 100755 index 1e05dd6ba..000000000 --- a/utils/test/testapi/run_test.sh +++ /dev/null @@ -1,40 +0,0 @@ -#!/bin/bash - -set -o errexit - -# Get script directory -SCRIPTDIR=`dirname $0` - -echo "Running unit tests..." - -# Creating virtual environment -if [ ! -z $VIRTUAL_ENV ]; then - venv=$VIRTUAL_ENV -else - venv=$SCRIPTDIR/.venv - virtualenv $venv -fi -source $venv/bin/activate - -# Install requirements -pip install -r $SCRIPTDIR/requirements.txt -pip install -r $SCRIPTDIR/test-requirements.txt - -find . -type f -name "*.pyc" -delete - -nosetests --with-xunit \ - --with-coverage \ - --cover-erase \ - --cover-package=$SCRIPTDIR/opnfv_testapi/cmd \ - --cover-package=$SCRIPTDIR/opnfv_testapi/common \ - --cover-package=$SCRIPTDIR/opnfv_testapi/resources \ - --cover-package=$SCRIPTDIR/opnfv_testapi/router \ - --cover-xml \ - --cover-html \ - $SCRIPTDIR/opnfv_testapi/tests - -exit_code=$? - -deactivate - -exit $exit_code |