add div test cases into test_issuer.py
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 5 Aug 2020 11:32:45 +0000 (12:32 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 5 Aug 2020 11:32:45 +0000 (12:32 +0100)
src/soc/simple/test/test_issuer.py

index a8b0f34a77de9fca36467dc0ddd4524241791254..23d650f842c0c0329d2528aac754a62a2b7b0792 100644 (file)
@@ -27,7 +27,7 @@ from soc.debug.dmi import DBGCore, DBGCtrl, DBGStat
 
 # test with ALU data and Logical data
 #from soc.fu.alu.test.test_pipe_caller import ALUTestCase
-#from soc.fu.div.test.test_pipe_caller import DivTestCase
+from soc.fu.div.test.test_pipe_caller import DivTestCases
 #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
@@ -260,7 +260,7 @@ if __name__ == "__main__":
     unittest.main(exit=False)
     suite = unittest.TestSuite()
     # suite.addTest(TestRunner(HelloTestCases.test_data))
-    # suite.addTest(TestRunner(DivTestCase.test_data))
+    suite.addTest(TestRunner(DivTestCases().test_data))
     # suite.addTest(TestRunner(AttnTestCase.test_data))
     suite.addTest(TestRunner(GeneralTestCases.test_data))
     # suite.addTest(TestRunner(LDSTTestCase().test_data))