Skip to content

Commit

Permalink
Merge pull request #5447 from kamil-holubicki/TEL-26-post-push-fix-8.0
Browse files Browse the repository at this point in the history
TEL-26: Percona Telemetry Component unit tests added
  • Loading branch information
kamil-holubicki authored Oct 9, 2024
2 parents 420bf0b + 0be7a6e commit a634d87
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion unittest/gunit/components/percona_telemetry/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ ENDIF()

INCLUDE_DIRECTORIES(SYSTEM
${GMOCK_INCLUDE_DIRS}
${BOOST_PATCHES_DIR}
${BOOST_INCLUDE_DIR}
)

SET(PERCONA_TELEMETRY_COMPONENT_SRC
Expand All @@ -37,7 +39,7 @@ SET(TESTS
)

FOREACH(test ${TESTS})
MYSQL_ADD_EXECUTABLE(${test}-t ${PERCONA_TELEMETRY_COMPONENT_SRC} ${LOCAL_MOCK_SRC} ${test}-t.cc ADD_TEST ${test} LINK_LIBRARIES ${PERCONA_TELEMETRY_COMPONENT_LIBS} DEPENDENCIES component_percona_telemetry)
MYSQL_ADD_EXECUTABLE(${test}-t ${PERCONA_TELEMETRY_COMPONENT_SRC} ${LOCAL_MOCK_SRC} ${test}-t.cc ADD_TEST ${test} LINK_LIBRARIES ${PERCONA_TELEMETRY_COMPONENT_LIBS})
TARGET_LINK_LIBRARIES(${test}-t mysys gunit_small)
ENDFOREACH()

0 comments on commit a634d87

Please sign in to comment.