nim-eth/tests/rlp/test_json_suite.nim
Kim De Mey 762415319c
Add build_dcli target and add it to CI (#344)
* Add build_dcli target and add it to CI

* Fix local imports for dcli

* And use local imports for all other files too

* Use local imports in tests and rlpx protocols
2021-04-06 13:33:24 +02:00

15 lines
278 B
Nim

{.used.}
import
std/[os, strutils, strformat],
./util/json_testing
template sourceDir: string = currentSourcePath.rsplit(DirSep, 1)[0]
const casesDir = &"{sourceDir}{DirSep}cases{DirSep}"
for file in walkDirRec(casesDir):
if file.endsWith("json"):
runTests(file)