nim-eth/tests/rlp/test_json_suite.nim

15 lines
278 B
Nim
Raw Normal View History

2020-04-18 10:17:59 +02:00
{.used.}
2019-02-05 14:01:10 +02:00
import
std/[os, strutils, strformat],
./util/json_testing
2019-02-05 14:01:10 +02:00
2019-05-30 17:33:59 +02:00
template sourceDir: string = currentSourcePath.rsplit(DirSep, 1)[0]
const casesDir = &"{sourceDir}{DirSep}cases{DirSep}"
for file in walkDirRec(casesDir):
2019-02-05 14:01:10 +02:00
if file.endsWith("json"):
runTests(file)