nimbus-eth1/hive_integration/nodocker/engine/engine_sim.nim

20 lines
343 B
Nim
Raw Normal View History

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()