diff options
author | Dylan Baker <baker.dylan.c@gmail.com> | 2015-09-29 13:52:07 -0700 |
---|---|---|
committer | Dylan Baker <baker.dylan.c@gmail.com> | 2015-10-09 12:23:37 -0700 |
commit | 53638cf2564cc649411cf974a3562e8706e6dae7 (patch) | |
tree | 47a5077466db07351b0e2b96b52d105449efa6b3 /.gitignore | |
parent | 942928623ee7208a07ab1f5da953e627c18cc5fd (diff) |
framework: add tox testing support
tox is a python test manager that runs the tests in isolated
environments with their own copies of dependent libraries, and can be
used to test against multiple versions of python. This allows us to
easily test the framework with and without the acceleration modules it
can optionally use (simplejson and lxml), it will also allow us to test
against multiple versions of python 3.x (which we support for the
generators, and presumably will support in the future)
This uses the coverage module, and uses nose's cover-tests option.
Unfortunately nose assumes that anything /[Tt]est/ is a test, and hides
the tests for the test package. This might be resolvable by modifying
the regex, but it isn't something straightforward to fix. Using
--cover-tests will get us the test package, but it also gets us the
tests package.
Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore index 6030aaf37..0f985bbfe 100644 --- a/.gitignore +++ b/.gitignore @@ -24,6 +24,7 @@ tests/glslparsertest/glslcompiler generated_tests/cl .makotmp +.tox/ *.css *.html |