projects
/
gram.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
658b73b
)
Refactor generic_test execution
author
Jean THOMAS
<git0@pub.jeanthomas.me>
Fri, 3 Jul 2020 11:23:46 +0000
(13:23 +0200)
committer
Jean THOMAS
<git0@pub.jeanthomas.me>
Fri, 3 Jul 2020 11:23:46 +0000
(13:23 +0200)
gram/test/test_core_refresher.py
patch
|
blob
|
history
diff --git
a/gram/test/test_core_refresher.py
b/gram/test/test_core_refresher.py
index 4f0dc58cacd27429aaa28bcbb12228e339a62886..f3347a96f2b05892b948f290446d1f608eb6175a 100644
(file)
--- 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]]