[CMake] detect Nightly test run

Miroslav Drahos mdrahos at aurisrobotics.com
Wed Jun 8 13:34:40 EDT 2016


Hi folks,

I am wondering if it is possible to detect in CMakeLists.txt whether a Nightly target is being configured?

What I am trying to do, is to set extra parameters (--gtest_repeat=200) on some tests; but because this slows things down, I'd like to have this only in the Nightly run.

Any and all suggestions are greatly appreciated!

Cheers,

Miro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20160608/0d7851cb/attachment.html>


More information about the CMake mailing list