mirror of
https://github.com/logos-storage/logos-storage-nim-dht.git
synced 2026-01-08 16:33:10 +00:00
parallelize tests
This commit is contained in:
parent
a2fd23adee
commit
b8d254e564
2
Makefile
2
Makefile
@ -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
|
||||
|
||||
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user