summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorDylan Baker <baker.dylan.c@gmail.com>2016-04-08 16:14:52 -0700
committerDylan Baker <baker.dylan.c@gmail.com>2016-04-13 09:05:23 -0700
commitd0dc5f87dd31f24aeb19638dd2e2d50a286a0be5 (patch)
tree003fccaad5bd873c93830ba69a72d220a0939ec3 /tox.ini
parent11a073a1a3567b22a21472efd20509594070c87a (diff)
generators: Add helper classes for GLSL version numbers
This adds a new module in the generated_tests/modules directory, which contains three classes, GLSLVersion, GLSLESVersion, and Version. Version is a factory that caches other versions and makes GLSLVersion and GLSLESVersion instances on demand. The goal of these classes is to provide a simple, unified method for dealing with GLSL version numbers, which is something that a lot of generators need to do. To that end it provides rich comparisons against each other and against ints and floats. The hope is that other generator writers could leverage this work in their generators to simplify things. Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com> Acked-by: Ilia Mirkin <imirkin@alum.mit.edu>
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini4
1 files changed, 2 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index a1556fa73..fbb88c016 100644
--- a/tox.ini
+++ b/tox.ini
@@ -19,5 +19,5 @@ deps =
py35: mako==1.0.2
generator: numpy==1.7.0
commands =
- {accel,noaccel}: nosetests unittests []
- generator: nosetests generated_tests/test_generators.py []
+ {accel,noaccel}: nosetests unittests -e generators []
+ generator: nosetests generated_tests/test_generators.py unittests/generators []