From: Luke Kenneth Casson Leighton Date: Fri, 30 Apr 2021 15:25:20 +0000 (+0100) Subject: debug and stop on mmu test_pipe_caller.py X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=946889e2abdb616d12c7728e6342402b5a1eb234;p=soc.git debug and stop on mmu test_pipe_caller.py --- diff --git a/src/soc/fu/mmu/test/test_pipe_caller.py b/src/soc/fu/mmu/test/test_pipe_caller.py index 175347b7..a8fcfac5 100644 --- a/src/soc/fu/mmu/test/test_pipe_caller.py +++ b/src/soc/fu/mmu/test/test_pipe_caller.py @@ -192,7 +192,9 @@ class TestRunner(unittest.TestCase): vld = yield fsm.n.valid_o #fsm while not vld: yield - if debughang: print("not valid -- hang") + if debughang: + print("not valid -- hang") + return vld = yield fsm.n.valid_o if debughang==2: vld=1 yield