Commit 8933b5a3 authored by Jan Möbius's avatar Jan Möbius
Browse files

Bad output name collision with directory

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@13669 383ad7c9-94d9-4d36-a494-682f7c89f535
parent a7763b75
......@@ -3,9 +3,8 @@ if(BUILD_TESTING)
add_executable (minimalExecutionTest minimalExecutionTest.cc )
set_target_properties (
minimalExecutionTest PROPERTIES
RUNTIME_OUTPUT_NAME "minimalExecutionTest"
set_target_properties( minimalExecutionTest PROPERTIES
RUNTIME_OUTPUT_NAME "minimalExecTest"
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/tests"
LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/tests"
)
......@@ -14,12 +13,12 @@ if(BUILD_TESTING)
add_custom_command (TARGET minimalExecutionTest POST_BUILD
COMMAND ${CMAKE_COMMAND} -E
copy_if_different
${CMAKE_BINARY_DIR}/tests/${CMAKE_CFG_INTDIR}/minimalExecutionTest.exe
${CMAKE_BINARY_DIR}/tests/minimalExecutionTest.exe)
${CMAKE_BINARY_DIR}/tests/${CMAKE_CFG_INTDIR}/minimalExecTest.exe
${CMAKE_BINARY_DIR}/tests/minimalExecTest.exe)
endif()
ADD_TEST(NAME "Minimal_Execution_Test"
COMMAND ${CMAKE_BINARY_DIR}/tests/minimalExecutionTest )
COMMAND ${CMAKE_BINARY_DIR}/tests/minimalExecTest )
set_tests_properties( Minimal_Execution_Test PROPERTIES
TIMEOUT 10
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment