From: Jean THOMAS Date: Fri, 3 Jul 2020 11:23:46 +0000 (+0200) Subject: Refactor generic_test execution X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b83acee750b3264cce9b3d5ad9c0b0dd0cbd9ce3;p=gram.git Refactor generic_test execution --- diff --git a/gram/test/test_core_refresher.py b/gram/test/test_core_refresher.py index 4f0dc58..f3347a9 100644 --- a/gram/test/test_core_refresher.py +++ b/gram/test/test_core_refresher.py @@ -53,9 +53,7 @@ class RefreshPostponerTestCase(FHDLTestCase): runSimulation(m, process, "test_refreshpostponer.vcd") - generic_test(1) - generic_test(5) - generic_test(10) + [generic_test(_) for _ in [1, 5, 10]] def test_req_not_stuck(self): def generic_test(delay): @@ -77,6 +75,4 @@ class RefreshPostponerTestCase(FHDLTestCase): runSimulation(m, process, "test_refreshpostponer.vcd") - generic_test(1) - generic_test(5) - generic_test(10) + [generic_test(_) for _ in [1, 5, 10]]