Sometimes some test under ctest does not (or not timely) terminate. When running with -j
and a high number of tasks it is very hard to figure out which test has not ended yet. On Linux we have a decent ps
or pstree
, but on e.g., Windows it seems rather hard to find the test processes and how they are called and thus it is hard to find the stalled test.
Would it be possible to print the tests it cancels when you stop ctest
using Control-C? I.e. something like this:
> ctest -j 16
....
^C
Interrupted tests:
mytest1 (running for 530 sec)
mytest7 (running for 10 sec)
...
>