aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmma Foley <emma.l.foley@intel.com>2017-11-07 21:04:08 +0000
committerEmma Foley <emma.l.foley@intel.com>2017-11-17 17:19:17 +0000
commitf01e1496ba4c520b011663b1ff634db7a668a383 (patch)
tree9e3f485544a83b76b0c84e41de2ff1b0c61f544b
parent29476ed0317dcc635dff67d2fc9fd68233aa6656 (diff)
Move test scripts to tools/
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>
-rw-r--r--tools/cover.awk (renamed from tests/ci/cover.awk)0
-rw-r--r--tools/cover.sh (renamed from tests/ci/cover.sh)0
-rwxr-xr-xtools/run_tests.sh (renamed from run_tests.sh)2
-rw-r--r--tox.ini6
4 files changed, 4 insertions, 4 deletions
diff --git a/tests/ci/cover.awk b/tools/cover.awk
index e4bb816dc..e4bb816dc 100644
--- a/tests/ci/cover.awk
+++ b/tools/cover.awk
diff --git a/tests/ci/cover.sh b/tools/cover.sh
index 780a85a22..780a85a22 100644
--- a/tests/ci/cover.sh
+++ b/tools/cover.sh
diff --git a/run_tests.sh b/tools/run_tests.sh
index dda760218..f253327e5 100755
--- a/run_tests.sh
+++ b/tools/run_tests.sh
@@ -20,7 +20,7 @@ export PYTHONDONTWRITEBYTECODE=1
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() {
diff --git a/tox.ini b/tox.ini
index ed2fd4a7d..9a82878b0 100644
--- a/tox.ini
+++ b/tox.ini
@@ -13,7 +13,7 @@ whitelist_externals = /bin/bash
[testenv:py27]
commands =
- /bin/bash ./run_tests.sh --unit
+ /bin/bash {toxinidir}/tools/run_tests.sh --unit
[testenv:py3]
basepython = python3
@@ -32,11 +32,11 @@ commands =
[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