Diffusion K3b eb117b98a107

Fix running the tests with CMAKE_RUNTIME_OUTPUT_DIRECTORY set

Authored by heikobecker on Apr 18 2019, 1:02 PM.

Description

Fix running the tests with CMAKE_RUNTIME_OUTPUT_DIRECTORY set

Summary:
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] dc40d092e47ac2cec9eaf87ed90df484d5c17ba1
[2] https://phabricator.kde.org/D7198

Differential Revision: https://phabricator.kde.org/D20662