]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Add a tox config for testing with the pyuv-based IOLoop.
authorBen Darnell <ben@bendarnell.com>
Thu, 14 Feb 2013 04:03:25 +0000 (23:03 -0500)
committerBen Darnell <ben@bendarnell.com>
Thu, 14 Feb 2013 04:03:25 +0000 (23:03 -0500)
maint/test/pyuv/tox.ini [new file with mode: 0644]

diff --git a/maint/test/pyuv/tox.ini b/maint/test/pyuv/tox.ini
new file mode 100644 (file)
index 0000000..84643b7
--- /dev/null
@@ -0,0 +1,15 @@
+[tox]
+envlist = py27
+setupdir = ../../..
+
+[testenv]
+# tornado-pyuv is not installable unless pyuv is installed first;
+# listing them both in deps doesn't install them in order.
+commands =
+         pip install git+https://github.com/saghul/tornado-pyuv.git
+         python -m tornado.test.runtests --ioloop=tornado_pyuv.UVLoop {posargs:}
+# twisted tests don't work on pyuv IOLoop currently.
+deps =
+     git+https://github.com/saghul/pyuv.git
+     futures
+     mock