parallelize tests

This commit is contained in:
Jaremy Creechley 2023-07-12 15:43:13 -07:00
parent a2fd23adee
commit b8d254e564
No known key found for this signature in database
GPG Key ID: 4E66FB67B21D3300
2 changed files with 4 additions and 1 deletions

View File

@ -63,7 +63,7 @@ update: | update-common
# Builds and run a part of the test suite
test: | build deps
echo -e $(BUILD_MSG) "$@" && \
$(ENV_SCRIPT) nim testAll $(NIM_PARAMS) config.nims
$(ENV_SCRIPT) nim test $(NIM_PARAMS) config.nims
# usual cleaning
clean: | clean-common

View File

@ -26,6 +26,9 @@ requires "questionable"
task testAll, "Run DHT tests":
exec "nim c -r tests/testAll.nim"
task test, "Run DHT tests":
exec "nim c -r --verbosity:0 tests/testAllParallel.nim"
# task coverage, "generates code coverage report":
# var (output, exitCode) = gorgeEx("which lcov")
# if exitCode != 0: