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@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 > -- > > >
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: https://cmake.org/mailman/listinfo/cmake