From 24566f9530f8e1aaabf7a1c3232568d6cc408b4f Mon Sep 17 00:00:00 2001 From: Bartek Grzybowski Date: Tue, 4 Feb 2020 15:04:25 +0100 Subject: 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 Issue-ID: INT-1427 --- .gitignore | 1 + test/vcpe/tox.ini | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 test/vcpe/tox.ini 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 -- cgit 1.2.3-korg