The tests are needlessly slow because they are executed one after another. CMake handles running them in parallel just fine. I run them daily on my machines as CMake dashboard tests and they complete way faster there because they are run in parallel.
Created attachment 544032 [details, diff] cmake-parallel-tests.patch untested patch
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5218898033fc05865a3e35a30195239110edd48 commit d5218898033fc05865a3e35a30195239110edd48 Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2018-10-14 20:17:09 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2018-10-14 20:17:26 +0000 dev-util/cmake: Bump to version 3.13.0_rc1 Run tests in parallel. Thanks to kensington for the ebuild patch. Closes: https://bugs.gentoo.org/663992 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 dev-util/cmake/Manifest | 1 + dev-util/cmake/cmake-3.13.0_rc1.ebuild | 226 +++++++++++++++++++++++++++++++++ 2 files changed, 227 insertions(+)