add missing test_caller_cr.py
authorJacob Lifshay <programmerjake@gmail.com>
Tue, 25 Jul 2023 02:50:12 +0000 (19:50 -0700)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 22 Dec 2023 19:26:20 +0000 (19:26 +0000)
src/openpower/decoder/isa/test_caller_cr.py [new file with mode: 0644]

diff --git a/src/openpower/decoder/isa/test_caller_cr.py b/src/openpower/decoder/isa/test_caller_cr.py
new file mode 100644 (file)
index 0000000..7c548b2
--- /dev/null
@@ -0,0 +1,23 @@
+""" CR tests
+"""
+
+import unittest
+
+from openpower.test.cr.cr_cases import CRTestCase
+from openpower.test.runner import TestRunnerBase
+
+# writing the test_caller invocation this way makes it work with pytest
+
+
+class TestBigInt(TestRunnerBase):
+    def __init__(self, test):
+        assert test == 'test'
+        super().__init__(CRTestCase().test_data)
+
+    def test(self):
+        # dummy function to make unittest try to test this class
+        pass
+
+
+if __name__ == "__main__":
+    unittest.main()