Add tox config for vcpe scripts 12/101112/2
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>
Tue, 4 Feb 2020 14:04:25 +0000 (15:04 +0100)
committerMarco Platania <platania@research.att.com>
Fri, 7 Feb 2020 14:05:54 +0000 (14:05 +0000)
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

.gitignore
test/vcpe/tox.ini [new file with mode: 0644]

index 6d45363..543c596 100644 (file)
@@ -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 (file)
index 0000000..25785a6
--- /dev/null
@@ -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