From: Jacob Lifshay Date: Tue, 25 Jul 2023 02:50:12 +0000 (-0700) Subject: add missing test_caller_cr.py X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=89db91417312abd0a19c28138daca9508310f514;p=openpower-isa.git add missing test_caller_cr.py --- diff --git a/src/openpower/decoder/isa/test_caller_cr.py b/src/openpower/decoder/isa/test_caller_cr.py new file mode 100644 index 00000000..7c548b2d --- /dev/null +++ b/src/openpower/decoder/isa/test_caller_cr.py @@ -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()