summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDidier Raboud <odyx@debian.org>2013-11-18 16:24:41 +0100
committerDidier Raboud <odyx@debian.org>2013-11-18 16:24:41 +0100
commit86c0eb193dc84d39056e9a581f0717a058614db1 (patch)
tree543868fb9d8f9d3f7a423f270ae7efea36dc28b3 /test
parentca82353e81988b4c4105ef2ed8d61206a70d6595 (diff)
downloadcolobot-86c0eb193dc84d39056e9a581f0717a058614db1.tar.gz
colobot-86c0eb193dc84d39056e9a581f0717a058614db1.tar.bz2
colobot-86c0eb193dc84d39056e9a581f0717a058614db1.zip
Run image_test
Diffstat (limited to 'test')
-rw-r--r--test/unit/common/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/unit/common/CMakeLists.txt b/test/unit/common/CMakeLists.txt
index 7d1ae9d..cf37961 100644
--- a/test/unit/common/CMakeLists.txt
+++ b/test/unit/common/CMakeLists.txt
@@ -7,6 +7,8 @@ ${GTEST_INCLUDE_DIR}
add_executable(image_test ${SRC_DIR}/common/image.cpp image_test.cpp)
target_link_libraries(image_test ${SDL_LIBRARY} ${SDLIMAGE_LIBRARY} ${PNG_LIBRARIES})
+add_test(NAME image_test
+ COMMAND ${CMAKE_BINARY_DIR}/image_test ${CMAKE_SOURCE_DIR}/test/envs/opengl/tex1.png ${CMAKE_BINARY_DIR}/tex1_test.png)
file(COPY colobot.ini DESTINATION ${CMAKE_CURRENT_BINARY_DIR})