[Piglit] [PATCH 03/20] tox: split py27-accel for windows
Dylan Baker
dylan at pnwbakers.com
Wed Jun 1 23:50:10 UTC 2016
Some parts of the accel profile don't work on windows (or don't work
easily) such as lxml and subprocess32. Because of this create two
separate acceel profiles, one for windows and one for posix platforms.
Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
---
tox.ini | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/tox.ini b/tox.ini
index d70d5d8..901432e 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,20 +1,21 @@
[tox]
-envlist = py{27,33,34,35}-{generator,noaccel,accel}
-skipsdist=True
-
+envlist = py{27,33,34,35}-{generator,noaccel}, py{27,33,34,35}-accel-{win,nix}
+skipsdist = True
[testenv]
passenv=HOME
+setenv =
+ USERNAME = foo
deps =
nose
coverage
six==1.5.2
accel: simplejson
- accel: lxml
- py27-accel,py{33,34,35}-{accel,noaccel}: psutil
+ accel-nix: lxml
+ py27-accel-nix,py{33,34,35}-{accel,noaccel}: psutil
py27-{accel,noaccel}: mock==1.0.1
- py27-accel: backports.lzma
- py27-accel: subprocess32
+ py27-accel-nix: backports.lzma
+ py27-accel-nix: subprocess32
py{27,33,34}: mako==0.8.0
py35: mako==1.0.2
generator: numpy==1.7.0
--
2.8.3
More information about the Piglit
mailing list