mirror of
https://github.com/status-im/nim-eth.git
synced 2025-01-10 14:25:50 +00:00
762415319c
* 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
15 lines
278 B
Nim
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)
|
|
|