From 9cce800d42e74841ab5f5292b4f5fda2500ee07b Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Fri, 19 Jun 2020 16:14:10 +0200 Subject: [PATCH] Run CTest in parallel (#7952) * Don't pre-load engine before other plug-ins This was a fix for the post-processing plug-in that's no longer required. It was also only applied when running from source, so obviously it's not required or we'd have seen it in the builds. * Run automated tests in parallel Done during Turbo Testing and Tooling. * Pass number of processors via ctest command itself More reliable apparently because it's a CMake variable that doesn't get cached. It shouldn't get cached or set in the CMake script because it's not the same for every computer. Done during Turbo Testing and Tooling. --- docker/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/build.sh b/docker/build.sh index a500663c64..39632b348b 100755 --- a/docker/build.sh +++ b/docker/build.sh @@ -67,4 +67,4 @@ cmake3 \ -DBUILD_TESTS=ON \ .. make -ctest3 --output-on-failure -T Test +ctest3 -j4 --output-on-failure -T Test