[CMake] Run a single test without parallelism

Dzenan Zukic dzenan.zukic at kitware.com
Fri Apr 12 15:28:58 EDT 2019


Thank you, that's exactly what I was looking for!

On Fri, Apr 12, 2019 at 12:19 PM Sergei Nikulov <sergey.nikulov at gmail.com>
wrote:

> 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/f0e40556/attachment.html>


More information about the CMake mailing list