This commit is contained in:
Jaremy Creechley 2023-07-13 22:21:25 -07:00
parent 4f30012c2d
commit 9a78c70bb1
No known key found for this signature in database
GPG Key ID: 4E66FB67B21D3300
2 changed files with 9 additions and 13 deletions

View File

@ -1,10 +1,6 @@
when defined(testsPart1) or not defined(testParts):
import ./dht/test_providers
when defined(testsPart2) or not defined(testParts):
import ./dht/test_providermngr
when defined(testsPart3) or not defined(testParts):
import ./discv5/test_discoveryv5
when defined(testsPart4) or not defined(testParts):
import ./discv5/test_discoveryv5_encoding
import ./dht/test_providers
import ./dht/test_providermngr
import ./discv5/test_discoveryv5
import ./discv5/test_discoveryv5_encoding
{.warning[UnusedImport]: off.}

View File

@ -8,15 +8,15 @@ 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",
"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 --verbosity:0 tests/discv5/test_discoveryv5.nim",
"nim c -r --verbosity:0 tests/discv5/test_discoveryv5_encoding.nim",
"nim c -r tests/discv5/test_discoveryv5.nim",
"nim c -r tests/discv5/test_discoveryv5_encoding.nim",
]
echo "CMDS: ", cmds
echo "Running Test Commands: ", cmds
quit execProcesses(cmds)