summaryrefslogtreecommitdiff
path: root/unittests
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2016-07-26 12:32:41 -0700
committerDylan Baker <dylan@pnwbakers.com>2016-08-05 10:45:04 -0700
commit828230370228dcced5a42593d74fb4d2cfe4ae46 (patch)
treef3f3c14af17eaf7801e02cb096e045bc5a655329 /unittests
parent45ef050f92d8ed534c47273c489ab75ff59c7949 (diff)
unittests/suites/test_integration: Add tests for remaining suites
Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Diffstat (limited to 'unittests')
-rw-r--r--unittests/suites/test_integration.py36
1 files changed, 18 insertions, 18 deletions
diff --git a/unittests/suites/test_integration.py b/unittests/suites/test_integration.py
index 8c224734d..1172c13e3 100644
--- a/unittests/suites/test_integration.py
+++ b/unittests/suites/test_integration.py
@@ -55,9 +55,24 @@ def _import(name):
'This may be expected.')
-def test_xts_import():
- """ xts.py can be imported """
- _import('tests.xts')
+@pytest.mark.parametrize("name", [
+ 'tests.cts_gl',
+ 'tests.cts_gles',
+ 'tests.deqp_gles2',
+ 'tests.deqp_gles3',
+ 'tests.deqp_gles31',
+ 'tests.deqp_vk',
+ 'tests.es3conform',
+ 'tests.igt',
+ 'tests.oglconform',
+ 'tests.xts',
+ 'tests.xts-render',
+])
+def test_import(name):
+ """Try to import tests, if they raise an error skip."""
+ # TODO: Figure out what is necissary for each test to run, or catch
+ # specific errors as skips rather than any of them.
+ _import(name)
def test_xts_xtstest():
@@ -72,33 +87,18 @@ def test_xts_xtsprofile():
mod.XTSProfile()
-def test_igt_import():
- """ igt.py can be imported """
- _import('tests.igt')
-
-
def test_igt_igttest():
""" igt.IGTTest initializes """
mod = _import('tests.igt')
mod.IGTTest('foo')
-def test_es3conform_import():
- """ es3conform.py can be imported """
- _import('tests.es3conform')
-
-
def test_es3conform_gtftest():
""" es3conform.GTFTest initializes """
mod = _import('tests.es3conform')
mod.GTFTest('testpath')
-def test_oglconform_import():
- """ oglconform.py can be imported """
- _import('tests.oglconform')
-
-
def test_oglconform_oglctest():
""" oglconform.OGLCTest initializes """
mod = _import('tests.oglconform')