mirror of
https://github.com/codex-storage/nim-codex-dht.git
synced 2025-02-19 15:24:23 +00:00
23 lines
587 B
Nim
23 lines
587 B
Nim
|
# import
|
||
|
# ./dht/[test_providers, test_providermngr],
|
||
|
# ./discv5/[test_discoveryv5, test_discoveryv5_encoding]
|
||
|
|
||
|
import osproc
|
||
|
|
||
|
var cmds: seq[string]
|
||
|
|
||
|
when defined(testsPart1) or defined(testsAll):
|
||
|
cmds.add [
|
||
|
"nim c -r --verbosity:0 tests/dht/test_providers.nim",
|
||
|
"nim c -r --verbosity:0 tests/dht/test_providermngr.nim",
|
||
|
]
|
||
|
when defined(testsPart2) or defined(testsAll):
|
||
|
cmds.add [
|
||
|
"nim c -r --verbosity:0 tests/discv5/test_discoveryv5.nim",
|
||
|
"nim c -r --verbosity:0 tests/discv5/test_discoveryv5_encoding.nim",
|
||
|
]
|
||
|
|
||
|
echo "CMDS: ", cmds
|
||
|
|
||
|
quit execProcesses(cmds)
|