From: Cesar Strauss Date: Sat, 22 May 2021 20:31:00 +0000 (-0300) Subject: Move the reset code outside of the sub-test X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3fa7ba28c3ff08833bc75effcacff579eba26d92;p=soc.git Move the reset code outside of the sub-test Even if a sub-test fails, the core still needs to be reset. This code does not check any assertions, so it's safe to move it outside. --- diff --git a/src/soc/simple/test/test_runner.py b/src/soc/simple/test/test_runner.py index 7db90efd..cb4ca458 100644 --- a/src/soc/simple/test/test_runner.py +++ b/src/soc/simple/test/test_runner.py @@ -306,30 +306,30 @@ class TestRunner(FHDLTestCase): if terminated: break - # stop at end - yield from set_dmi(dmi, DBGCore.CTRL, 1<