From: Luke Kenneth Casson Leighton Date: Tue, 7 Jul 2020 23:41:12 +0000 (+0100) Subject: add hello world binary test X-Git-Tag: div_pipeline~162^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=abd8ed8ea3e889c78fe424daa82436b4cb85060a;p=soc.git add hello world binary test --- diff --git a/src/soc/simple/test/test_microwatt.py b/src/soc/simple/test/test_microwatt.py index 2cf0521a..a737489e 100644 --- a/src/soc/simple/test/test_microwatt.py +++ b/src/soc/simple/test/test_microwatt.py @@ -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,