I'm running my tests with --parallel "${JOBS_NUM} (this depends on the system), everything works fine except logs of tested applications - they are mixed, as a result, it's hard to read:
example of my tests:
test 1: started
logs from test2...
....
test 1: finished
I've found this comment [CMake] parallel ctest spawning too many threads , but looks like it's still not resolved.
I've checked ctest documentation but can't any options to disable output buffering, or some kind of mutex. Is it possible to do it in cmake ctest? I would like to the the next:
test1: started:
test1: logs
test1: finished
test2: started
test2: logs
test2: finished
while all tests are running in parallel.