2
0
mirror of https://github.com/status-im/nim-eth-p2p.git synced 2025-01-20 11:48:50 +00:00

Revert 3467243 + test tdiscovery uses C backend by default

This commit is contained in:
mratsim 2018-05-08 18:02:17 +02:00
parent a7e8cb7bdf
commit 0b02864b9d

@ -16,15 +16,7 @@ requires "nim > 0.18.0",
"https://github.com/status-im/nim-stint", "https://github.com/status-im/nim-stint",
"https://github.com/status-im/nim-byteutils" "https://github.com/status-im/nim-byteutils"
proc runTest(name: string, lang = "c") = proc runTest(name: string, lang = "c") = exec "nim " & lang & " -r tests/" & name
if not dirExists "build":
mkDir "build"
if not dirExists "nimcache":
mkDir "nimcache"
--run
--nimcache: "nimcache"
switch("out", ("./build/" & name))
exec "nim " & lang & " -r tests/" & name
task test, "Runs the test suite": task test, "Runs the test suite":
runTest "testecies" runTest "testecies"