Attempting to run a test in a non-existent directory doesn't produce meaningful "Details" field in CDash
Let's say you have:
add_test(NAME NoDirectory COMMAND ${CMAKE_COMMAND} -E true)
set_property(TEST NoDirectory PROPERTY WORKING_DIRECTORY /noexist)
When running CTest, you see Not Run
for the status of this test, and you see it on CDash as well. However, the "Details" field on CDash only says Failed to start
. You have to open the test output to see the error message:
Failed to change working directory to /noexist : No such file or directory
It would be nice if the "Details" field said Failed to change working directory
.