[CMake] Run a single test without parallelism

Sergei Nikulov sergey.nikulov at gmail.com
Fri Apr 12 12:19:38 EDT 2019


Check RUN_SERIAL option for test

https://cmake.org/cmake/help/v3.14/prop_test/RUN_SERIAL.html?highlight=run_serial


пт, 12 апр. 2019 г., 19:09 Dzenan Zukic via CMake <cmake at cmake.org>:

> Hi everybody,
>
> is there a way to prevent a test being run concurrently? I have a few
> tests which consume gigabytes of RAM, and when tests are being run in
> parallel (e.g. -j5) some of them non-deterministically fail due to memory
> allocation errors. Running most of the tests in parallel is an imperative
> because there are thousands of them.
>
> Regards,
> Dženan
> --
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake/attachments/20190412/8c063e10/attachment.html>


More information about the CMake mailing list