From 4ce8cd5dca2d209c84cb34a308b362a61a5bad44 Mon Sep 17 00:00:00 2001 From: Christian Ehrhardt Date: Mon, 19 Jul 2021 13:36:13 +0200 Subject: [PATCH] d/t/control: reduce test concurrency to reduce memory pressure In some test runs in Ubuntu this crashed due to an OOM so it seems to be sized rather thightly. Reduce the current use of $nproc to a static one (1) to avoid too much pressure. From my tests: nproc=4 = 1.5G fail, 3G fail, 4G fail, 8G work nproc=1 = 1.5G fail, 3G work Signed-off-by: Christian Ehrhardt --- debian/tests/test-xtensor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/tests/test-xtensor b/debian/tests/test-xtensor index 9d8b5b6..685b3bc 100755 --- a/debian/tests/test-xtensor +++ b/debian/tests/test-xtensor @@ -17,4 +17,4 @@ cd "$AUTOPKGTEST_TMP" echo "Testing with ${CC} and ${CXX}:" mkdir build && cd build CC=${CC} CXX=${CXX} cmake .. ${BUILD_OPTIONS} -CTEST_OUTPUT_ON_FAILURE=1 make -j $(nproc) VERBOSE=1 xtest +CTEST_OUTPUT_ON_FAILURE=1 make -j 1 VERBOSE=1 xtest -- GitLab