diff options
author | Bartek Grzybowski <b.grzybowski@partner.samsung.com> | 2020-02-04 15:04:25 +0100 |
---|---|---|
committer | Marco Platania <platania@research.att.com> | 2020-02-07 14:05:54 +0000 |
commit | 24566f9530f8e1aaabf7a1c3232568d6cc408b4f (patch) | |
tree | 049e5d66b482c183bc5aa6fcd21bef91e526d632 | |
parent | 4c88f0227f5b1f1ebc95cf080657b6a34672c8fa (diff) |
Add tox config for vcpe scripts
This is a basic setup for tox that will run pytest tests
Change-Id: Icb15fbd30d7c13694866f447cd448a07195f4573
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Issue-ID: INT-1427
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | test/vcpe/tox.ini | 15 |
2 files changed, 16 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore index 6d453634b..543c596d8 100644 --- a/.gitignore +++ b/.gitignore @@ -30,3 +30,4 @@ csit/ *.class *.csar benchmark/ +.tox/ diff --git a/test/vcpe/tox.ini b/test/vcpe/tox.ini new file mode 100644 index 000000000..25785a67b --- /dev/null +++ b/test/vcpe/tox.ini @@ -0,0 +1,15 @@ +# tox (https://tox.readthedocs.io/) is a tool for running tests +# in multiple virtualenvs. This configuration file will run the +# test suite on all supported python versions. To use it, "pip install tox" +# and then run "tox" from this directory. + +[tox] +envlist = pytest + +[testenv] +deps = pytest + +[testenv:pytest] +basepython = python2 +commands = + pytest |