Move the scripts that tox uses for running tests
to the tools/ directory:
* run_tests.sh -> tools/run_tests.sh
* tests/ci/cover.{sh,awk} -> tools/
JIRA: YARDSTICK-837
Change-Id: I817c9e5f58c06b45f1de3f369318f4bb24168677
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
PY_VER="py$( python --version | sed 's/[^[:digit:]]//g' | cut -c-2 )"
export PY_VER
-COVER_DIR_NAME="./tests/ci/"
+COVER_DIR_NAME="./tools/"
export COVER_DIR_NAME
run_tests() {
[testenv:py27]
commands =
- /bin/bash ./run_tests.sh --unit
+ /bin/bash {toxinidir}/tools/run_tests.sh --unit
[testenv:py3]
basepython = python3
[testenv:coverage]
basepython = python3
commands =
- /bin/bash ./run_tests.sh --coverage
+ /bin/bash {toxinidir}/tools/run_tests.sh --coverage
[testenv:functional]
commands =
- /bin/bash ./run_tests.sh --functional
+ /bin/bash {toxinidir}/tools/run_tests.sh --functional
[testenv:functional-py3]
basepython = python3