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.
This commit is contained in:
Ghostkeeper 2020-06-19 16:14:10 +02:00 committed by GitHub
parent ba8cb4ce4a
commit 9cce800d42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,4 +67,4 @@ cmake3 \
-DBUILD_TESTS=ON \
..
make
ctest3 --output-on-failure -T Test
ctest3 -j4 --output-on-failure -T Test