summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorPiotr Dziwinski <piotrdz@gmail.com>2013-06-29 00:31:30 +0200
committerPiotr Dziwinski <piotrdz@gmail.com>2013-06-29 00:31:30 +0200
commit3e8568bda49b55c7e5c0cd40f3988cf1f1e9f62d (patch)
tree43c3843e372b471d2c1939a4f01c15a7705e5e3f /test
parenta4b3b7d0afb36f88085dea360545230b28c76ab2 (diff)
downloadcolobot-3e8568bda49b55c7e5c0cd40f3988cf1f1e9f62d.tar.gz
colobot-3e8568bda49b55c7e5c0cd40f3988cf1f1e9f62d.tar.bz2
colobot-3e8568bda49b55c7e5c0cd40f3988cf1f1e9f62d.zip
Fixed test binaries location
Diffstat (limited to 'test')
-rw-r--r--test/unit/CMakeLists.txt2
-rw-r--r--test/unit/ui/CMakeLists.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/CMakeLists.txt b/test/unit/CMakeLists.txt
index 95cf1b1..d5256ec 100644
--- a/test/unit/CMakeLists.txt
+++ b/test/unit/CMakeLists.txt
@@ -232,7 +232,7 @@ ${LIBSNDFILE_LIBRARY}
add_executable(colobot_ut ${COLOBOT_SOURCES} ${UT_SOURCES} ${OPENAL_SOURCES})
target_link_libraries(colobot_ut ${LIBS})
-add_test(colobot_ut ./colobot_ut)
+add_test(colobot_ut ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/colobot_ut)
# TODO: change the unit cases to independent automated tests to be included in colobot_ut
add_subdirectory(common)
diff --git a/test/unit/ui/CMakeLists.txt b/test/unit/ui/CMakeLists.txt
index c18af87..a6ab669 100644
--- a/test/unit/ui/CMakeLists.txt
+++ b/test/unit/ui/CMakeLists.txt
@@ -44,4 +44,4 @@ target_link_libraries(edit_test gtest gmock clipboard ${SDL_LIBRARY} ${SDLTTF_LI
-add_test(edit_test ./edit_test)
+add_test(edit_test ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/edit_test)