From bb2a7e2f3838c3981aab6b1f158eb7a485957e4b Mon Sep 17 00:00:00 2001 From: Thanassis Tsiodras Date: Tue, 3 Sep 2019 11:06:04 +0200 Subject: [PATCH] Automatically use the proper number of cores (-j was unlimited) --- test/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/test/Makefile b/test/Makefile index e5ffd36..1ac2ff3 100644 --- a/test/Makefile +++ b/test/Makefile @@ -1,5 +1,6 @@ DISABLED_TESTS=common/ TEST_CASES=$(filter-out $(DISABLED_TESTS), $(sort $(dir $(wildcard */)))) +export MAKEFLAGS="-j $(grep -c ^processor /proc/cpuinfo)" all: @python3 test.py all $(TEST_CASES) -- GitLab