diff options
author | Petr Mrázek <peterix@gmail.com> | 2013-12-14 14:17:59 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2013-12-14 14:17:59 +0100 |
commit | f15306a0ac0b9e449344da07fd6304c5704c0913 (patch) | |
tree | 29e3ed4eb22c3367ec103e4280f45dc437a4052e /mmc_updater/src/tests | |
parent | 8f856f55732e6427e9b4994343b01f9ac0e0daee (diff) | |
download | MultiMC-f15306a0ac0b9e449344da07fd6304c5704c0913.tar MultiMC-f15306a0ac0b9e449344da07fd6304c5704c0913.tar.gz MultiMC-f15306a0ac0b9e449344da07fd6304c5704c0913.tar.lz MultiMC-f15306a0ac0b9e449344da07fd6304c5704c0913.tar.xz MultiMC-f15306a0ac0b9e449344da07fd6304c5704c0913.zip |
Use ctest
Diffstat (limited to 'mmc_updater/src/tests')
-rw-r--r-- | mmc_updater/src/tests/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mmc_updater/src/tests/CMakeLists.txt b/mmc_updater/src/tests/CMakeLists.txt index 2af9b9c0..5de9d096 100644 --- a/mmc_updater/src/tests/CMakeLists.txt +++ b/mmc_updater/src/tests/CMakeLists.txt @@ -34,7 +34,7 @@ macro(ADD_UPDATER_TEST CLASS) set(TEST_TARGET updater_${CLASS}) add_executable(${TEST_TARGET} ${CLASS}.cpp) target_link_libraries(${TEST_TARGET} updatershared) - add_test(${TEST_TARGET} ${TEST_TARGET}) + add_test(NAME ${TEST_TARGET} COMMAND ${TEST_TARGET}) if (APPLE) set_target_properties(${TEST_TARGET} PROPERTIES LINK_FLAGS "-framework Security -framework Cocoa") endif() |