File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ SET(test_CJUnitTestsPort_sources
71
71
# It's convinient for VS users to have headers as part of project
72
72
IF (WIN32 )
73
73
SET (test_CJUnitTestsPort_sources
74
- ${tests_CJUnitTestsPort_sources }
74
+ ${test_CJUnitTestsPort_sources }
75
75
BaseTestFixture.h
76
76
../common/stringutils.h
77
77
resources.h
@@ -90,7 +90,7 @@ IF(WIN32)
90
90
)
91
91
ENDIF (WIN32 )
92
92
93
- add_unit_test (CJUnitTestsPort )
93
+ add_unit_test (CJUnitTestsPort CJUnitTestsPort )
94
94
95
95
#Copy sql.properties file to build dir
96
96
file (COPY sql.properties DESTINATION ${CMAKE_CURRENT_BINARY_DIR} )
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ function(add_unit_test NAME)
104
104
)
105
105
TARGET_LINK_LIBRARIES (${TGT_NAME} ${MY_TARGET_LINK_LIBRARIES} ${MY_GCOV_LINK_LIBRARIES} )
106
106
107
- ADD_TEST (jdbc_test_${NAME } ${NAME} )
107
+ ADD_TEST (jdbc_${TGT_NAME } ${NAME} )
108
108
109
109
MESSAGE (STATUS "Configuring unit tests - ${NAME} " )
110
110
Original file line number Diff line number Diff line change @@ -34,12 +34,12 @@ SET(test_bugs_sources
34
34
35
35
IF (WIN32 )
36
36
SET (test_bugs_sources
37
- ${bugs_sources }
37
+ ${test_bugs_sources }
38
38
bugs.h
39
39
../unit_fixture.h )
40
40
41
41
ENDIF (WIN32 )
42
42
43
- add_unit_test (bugs )
43
+ add_unit_test (bugs bugs )
44
44
45
45
MESSAGE (STATUS "Configuring bugs test cases - unsorted" )
You can’t perform that action at this time.
0 commit comments