diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-10-30 14:09:24 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-11-06 00:46:26 +0100 |
commit | cce14deaeff730c3f00cf627effa51b658fb2294 (patch) | |
tree | 547f76b285fa7e43c4ce8c7f05eaae10a6f1ce73 /Makefile | |
parent | Add tests for module introspection. (diff) | |
download | calp-cce14deaeff730c3f00cf627effa51b658fb2294.tar.gz calp-cce14deaeff730c3f00cf627effa51b658fb2294.tar.xz |
Add Makefile variable for setting number of test threads.
Diffstat (limited to '')
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -102,9 +102,11 @@ install: all calp-release unit-test-deps: calp $(GO_UNIT_TESTS) $(GO_FILES) $(TEST_FILES) +THREADS = $(shell ./cpucount) + # TODO (current-processor-count) $(COV_FILE): cpucount unit-test-deps - ./testrunner.scm --threads $(shell ./cpucount) --coverage $@ --coverage-supplement tests/unit/coverage-supplement.scm + ./testrunner.scm --threads $(THREADS) --coverage $@ --coverage-supplement tests/unit/coverage-supplement.scm GENHTML_FLAGS=--show-details \ --hierarchical \ |