Skip to content

Commit

Permalink
Fix windows failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
jangko committed Feb 19, 2024
1 parent 607710e commit e104317
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion json_rpc.nimble
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,14 @@ proc run(args, path: string) =
if (NimMajor, NimMinor) > (1, 6):
build args & " --mm:refc -r", path

proc buildOnly(args, path: string) =
build args, path
if (NimMajor, NimMinor) > (1, 6):
build args & " --mm:refc -r", path

task test, "run tests":
run "", "tests/all"
run "-d:\"chronicles_sinks=textlines[dynamic],json[dynamic]\"", "tests/all"

when not defined(windows):
# on windows, socker server build failed
buildOnly "-d:\"chronicles_sinks=textlines[dynamic],json[dynamic]\"", "tests/all"

0 comments on commit e104317

Please sign in to comment.