22 lines
348 B
Nim
22 lines
348 B
Nim
import
|
|
test_env,
|
|
engine_tests,
|
|
unittest2,
|
|
../sim_utils
|
|
|
|
proc main() =
|
|
var stat: SimStat
|
|
let start = getTime()
|
|
|
|
for x in engineTestList:
|
|
var t = setupELClient()
|
|
t.setRealTTD(x.ttd)
|
|
let status = x.run(t)
|
|
t.stopELClient()
|
|
stat.inc(x.name, status)
|
|
|
|
let elpd = getTime() - start
|
|
print(stat, elpd, "engine")
|
|
|
|
main()
|