From abd8ed8ea3e889c78fe424daa82436b4cb85060a Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Wed, 8 Jul 2020 00:41:12 +0100 Subject: [PATCH] add hello world binary test --- src/soc/simple/test/test_microwatt.py | 5 +++++ 1 file changed, 5 insertions(+) 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, -- 2.30.2