add ShiftRot test case (works only because CRs are not tested)
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 4 Jun 2020 19:18:18 +0000 (20:18 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 4 Jun 2020 19:18:18 +0000 (20:18 +0100)
src/soc/simple/test/test_core.py

index 22bd3bc1340fcac9060bbcc7993e2a4f492f4610..82d6d52bf6807633220909309dcc0a9a16d54367 100644 (file)
@@ -16,6 +16,7 @@ from soc.experiment.compalu_multi import find_ok # hack
 # test with ALU data and Logical data
 from soc.fu.alu.test.test_pipe_caller import TestCase, ALUTestCase
 from soc.fu.logical.test.test_pipe_caller import LogicalTestCase
+from soc.fu.shift_rot.test.test_pipe_caller import ShiftRotTestCase
 
 
 def set_cu_input(cu, idx, data):
@@ -218,6 +219,7 @@ class TestRunner(FHDLTestCase):
 if __name__ == "__main__":
     unittest.main(exit=False)
     suite = unittest.TestSuite()
+    suite.addTest(TestRunner(ShiftRotTestCase.test_data))
     suite.addTest(TestRunner(LogicalTestCase.test_data))
     suite.addTest(TestRunner(ALUTestCase.test_data))