add hello world binary test
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 7 Jul 2020 23:41:12 +0000 (00:41 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 7 Jul 2020 23:41:12 +0000 (00:41 +0100)
src/soc/simple/test/test_microwatt.py

index 2cf0521a4dffee503977b77a580419ba2345c822..a737489ed73e4a5a0ad9eae01a5ccc4ea04e9dac 100644 (file)
@@ -29,10 +29,15 @@ class BinaryTestCase(FHDLTestCase):
         super().__init__(name)
         self.test_name = name
 
+    @unittest.skip("a bit big")
     def test_binary(self):
         with Program("1.bin") as program:
             self.run_tst_program(program)
 
+    def test_binary(self):
+        with Program("hello_world.bin") as program:
+            self.run_tst_program(program)
+
     def run_tst_program(self, prog):
         initial_regs = [0] * 32
         tc = TestCase(prog, self.test_name, initial_regs, None, 0,