diff options
| -rw-r--r-- | tests/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index aae1e8c96..7cbb1b5c6 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -310,7 +310,8 @@ if (GMOCK_LIB AND ./test-gtest-service --task-name test-service --task=./${test_binary} --task-name=${test_binary} --wait-for=com.canonical.Unity.Test - --parameter=--gtest_output=xml:./${test_binary}.xml) + --parameter=--gtest_output=xml:./${test_binary}.xml + DEPENDS ${test_binary}) set (${VAR_PREFIX}_TARGETS ${${VAR_PREFIX}_TARGETS} run-${test_binary}) add_gtest (${basename} ${VAR_PREFIX} "${${VAR_PREFIX}_LIBS}" ${ARGN}) |
