summaryrefslogtreecommitdiff
path: root/framework/test/piglit_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'framework/test/piglit_test.py')
-rw-r--r--framework/test/piglit_test.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/framework/test/piglit_test.py b/framework/test/piglit_test.py
index ef3bfdc5d..c53c3e55e 100644
--- a/framework/test/piglit_test.py
+++ b/framework/test/piglit_test.py
@@ -189,3 +189,17 @@ class PiglitCLTest(PiglitBaseTest): # pylint: disable=too-few-public-methods
"""
def __init__(self, command, run_concurrent=CL_CONCURRENT, **kwargs):
super(PiglitCLTest, self).__init__(command, run_concurrent, **kwargs)
+
+
+class ASMParserTest(PiglitBaseTest):
+
+ """Test class for ASM parser tests."""
+
+ def __init__(self, type_, filename):
+ super(ASMParserTest, self).__init__(['asmparsertest', type_])
+ self.filename = filename
+
+ @PiglitBaseTest.command.getter
+ def command(self):
+ command = super(ASMParserTest, self).command
+ return command + [os.path.join(ROOT_DIR, self.filename)]