With the newer ECM requirement introduced in [1]
CMAKE_RUNTIME_OUTPUT_DIRECTORY gets set [2], which causes the tests
to fail because they don't find the test executables. Adding the
NAME and COMMAND keywords, which aren't really optional according to
cmake's docs, makes them pass again.
[1] cb9697bc1a5ee2b31d554d6ae68c9c6e12206eea
[2] https://phabricator.kde.org/D7198