File tree 1 file changed +5
-5
lines changed 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -5,10 +5,10 @@ set(UNIT_TESTS_FILES
5
5
)
6
6
7
7
set (CTR_TESTS_DATA_PATH "${CMAKE_CURRENT_SOURCE_DIR} /data" )
8
- # configure_file(
9
- # "${CMAKE_CURRENT_SOURCE_DIR}/ctr_tests_config.h.in"
10
- # "${CMAKE_CURRENT_BINARY_DIR}/ctr_tests_config.h"
11
- # )
8
+ configure_file (
9
+ "${CMAKE_CURRENT_SOURCE_DIR} /ctr_tests_config.h.in"
10
+ "${CMAKE_CURRENT_BINARY_DIR} /ctr_tests_config.h"
11
+ )
12
12
13
13
# Prepare list of unit tests
14
14
foreach (source_file ${UNIT_TESTS_FILES} )
@@ -27,7 +27,7 @@ if(NOT CTR_SYSTEM_WINDOWS)
27
27
endif ()
28
28
29
29
add_test (NAME ${source_file_we}
30
- COMMAND ${CMAKE_RUNTIME_OUTPUT_DIRECTORY} /${source_file_we}
30
+ COMMAND ${CMAKE_BINARY_DIR} /tests /${source_file_we}
31
31
WORKING_DIRECTORY ${CMAKE_HOME_DIRECTORY} /tests)
32
32
set_tests_properties (${source_file_we} PROPERTIES LABELS "internal" )
33
33
endforeach ()
You can’t perform that action at this time.
0 commit comments