[Piglit] [PATCH 2/4] integration_tests.py: Add igt support
Dylan Baker
baker.dylan.c at gmail.com
Fri Apr 25 09:01:57 PDT 2014
Signed-off-by: Dylan Baker <baker.dylan.c at gmail.com>
---
framework/tests/integration_tests.py | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/framework/tests/integration_tests.py b/framework/tests/integration_tests.py
index 5446a5c..d984e2d 100644
--- a/framework/tests/integration_tests.py
+++ b/framework/tests/integration_tests.py
@@ -53,3 +53,14 @@ def test_xts_xtsprofile():
""" xts.XTSProfile initializes """
mod = _import('tests.xts')
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')
--
2.0.0.rc0
More information about the Piglit
mailing list