mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-02-22 00:38:25 +00:00
some test with multiple client still need polishing. merge test using specially crafted blocks need to be added.
20 lines
343 B
Nim
20 lines
343 B
Nim
import
|
|
test_env,
|
|
engine_tests,
|
|
chronos,
|
|
unittest2
|
|
|
|
proc runTest(x: TestSpec, testStatusIMPL: var TestStatus) =
|
|
var t = setupELClient()
|
|
t.setRealTTD(x.ttd)
|
|
x.run(t, testStatusIMPL)
|
|
t.stopELClient()
|
|
|
|
proc main() =
|
|
suite "Engine Tests":
|
|
for x in engineTestList:
|
|
test x.name:
|
|
runTest(x, testStatusIMPL)
|
|
|
|
main()
|