nim-codex-dht/tests/testAllParallel.nim
Jaremy Creechley 9a78c70bb1
cleanup
2023-07-13 22:21:25 -07:00

23 lines
548 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 tests/dht/test_providers.nim",
"nim c -r tests/dht/test_providermngr.nim",
]
when defined(testsPart2) or defined(testsAll):
cmds.add [
"nim c -r tests/discv5/test_discoveryv5.nim",
"nim c -r tests/discv5/test_discoveryv5_encoding.nim",
]
echo "Running Test Commands: ", cmds
quit execProcesses(cmds)