Problem: ctest tries to run all found .exe. I want it to run only the targets that I built.
I am using CMake und googletest. I use the discover_tests feature.
https://gist.github.com/xavgru12/48cd76c836f4bff340d8cb84ee20eba0
6 messages · Page 1 of 1 (latest)
Problem: ctest tries to run all found .exe. I want it to run only the targets that I built.
I am using CMake und googletest. I use the discover_tests feature.
https://gist.github.com/xavgru12/48cd76c836f4bff340d8cb84ee20eba0
When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.

Just run the test binary directly, or pass a regex filter to ctest
Cmake knows which exe it built, I would like to leverage this information