activate some of new accumulator-based tests in test_issuer
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 26 Jul 2020 13:13:31 +0000 (14:13 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 26 Jul 2020 13:13:31 +0000 (14:13 +0100)
src/soc/simple/test/test_issuer.py

index 9efb02945dec81b5a98e6bbc7016ea50d3899cb0..aac3c1ae4a82a128752cb93f9411b190b5de8860 100644 (file)
@@ -29,7 +29,7 @@ from soc.fu.compunits.test.test_compunit import (setup_test_memory,
 #from soc.fu.div.test.test_pipe_caller import DivTestCase
 #from soc.fu.logical.test.test_pipe_caller import LogicalTestCase
 #from soc.fu.shift_rot.test.test_pipe_caller import ShiftRotTestCase
-#from soc.fu.cr.test.test_pipe_caller import CRTestCase
+from soc.fu.cr.test.test_pipe_caller import CRTestCase
 #from soc.fu.branch.test.test_pipe_caller import BranchTestCase
 #from soc.fu.spr.test.test_pipe_caller import SPRTestCase
 from soc.fu.ldst.test.test_pipe_caller import LDSTTestCase
@@ -205,8 +205,8 @@ if __name__ == "__main__":
     # suite.addTest(TestRunner(DivTestCase.test_data))
     suite.addTest(TestRunner(AttnTestCase.test_data))
     suite.addTest(TestRunner(GeneralTestCases.test_data))
-    suite.addTest(TestRunner(LDSTTestCase.test_data))
-    # suite.addTest(TestRunner(CRTestCase.test_data))
+    suite.addTest(TestRunner(LDSTTestCase().test_data))
+    suite.addTest(TestRunner(CRTestCase().test_data))
     # suite.addTest(TestRunner(ShiftRotTestCase.test_data))
     # suite.addTest(TestRunner(LogicalTestCase.test_data))
     # suite.addTest(TestRunner(ALUTestCase.test_data))