string tests

This commit is contained in:
Федоренко Дмитрий Витальевич
2020-09-10 17:48:28 +03:00
parent 4307890356
commit 7948028022
2 changed files with 3010 additions and 1 deletions

View File

@@ -6,7 +6,7 @@ macro(pip_test NAME LIBS)
set(_target pip_${NAME}_test)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${PIP_ROOT_BINARY_DIR}")
add_executable(${_target} ${_CPPS} ${_HDRS})
target_link_libraries(${_target} pip ${LIBS} gtest_main gmock_main)
target_link_libraries(${_target} pip ${LIBS} gtest_main gmock_main)
add_test(NAME ${_target} COMMAND tests)
add_custom_target(${_target}_perform ALL COMMAND ${_target})
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY)
@@ -17,3 +17,4 @@ endmacro()
# Concurrent tests
pip_test(concurrent "")
pip_test(math "")
pip_test(core "")