It seems like it spawns a process and ctest gets all confused. I've spent enough time with this already.
mentioned in commit 6179f2f7