[Piglit] [PATCH 7/7] tox: Also test python 3.{3-5} for the generators.
baker.dylan.c at gmail.com
baker.dylan.c at gmail.com
Thu Oct 8 14:49:47 PDT 2015
From: Dylan Baker <baker.dylan.c at gmail.com>
This tests the test generators with python 3.x as well as 2.x. The
generators have been supposed to build with python 3.3+ for some time,
but haven't.
This exposes a bug in the tessealation generators that keep them from
building with python 3.x, and these tests fail. This is expected, and
there are patches out for review to correct this.
Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
---
tox.ini | 26 +++++++++++++++++++-------
1 file changed, 19 insertions(+), 7 deletions(-)
diff --git a/tox.ini b/tox.ini
index b104115..ca97a51 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist = py27-{noaccel,accel}
+envlist = py27-{noaccel,accel},py{33,34,35}
skipsdist=True
[testenv]
@@ -8,11 +8,23 @@ deps =
numpy
six
nose
+commands = nosetests generated_tests/test_generators.py
+
+[testenv:py27-noaccel]
+passenv=HOME
+deps =
+ mako
+ nose
coverage
- accel: simplejson
- accel: lxml
- accel: backports.lzma
+commands = nosetests framework/tests --attr="!privliged" --with-cover --cover-package=framework --cover-tests
+
+[testenv:py27-accel]
passenv=HOME
-commands =
- nosetests generated_tests/test_generators.py
- nosetests framework/tests --attr="!privliged" --with-cover --cover-package=framework --cover-tests
+deps =
+ mako
+ nose
+ coverage
+ simplejson
+ lxml
+ backports.lzma
+commands = nosetests framework/tests --attr="!privliged" --with-cover --cover-package=framework --cover-tests
--
2.6.1
More information about the Piglit
mailing list