From d2246e6626f58299f56518114d8c65cac2d83365 Mon Sep 17 00:00:00 2001 From: Satoshi Kobayashi Date: Thu, 29 Aug 2013 11:31:50 +0900 Subject: [PATCH] Add a configuration file for tox (http://testrun.org/tox/) Python 2.6 and 2.7 interpreters are added to PATH, you can execute the following. Each virtual environment will be made and a test will be run. $ tox NOTE: py33 was failure because dependence packages are not worked on Python3 (At least: Eventlet). Signed-off-by: Satoshi Kobayashi Signed-off-by: FUJITA Tomonori --- tox.ini | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tox.ini diff --git a/tox.ini b/tox.ini new file mode 100644 index 00000000..a83b043f --- /dev/null +++ b/tox.ini @@ -0,0 +1,9 @@ +[tox] +envlist = py26,py27 + +[testenv] +deps = -U + -r{toxinidir}/tools/pip-requires + -r{toxinidir}/tools/test-requires +commands = + python ryu/tests/run_tests.py