Use gtest for golay24 and reed-solomon tests

This commit is contained in:
Jared Szechy
2014-03-11 22:29:15 -04:00
committed by EdFuentetaja
parent 6ab62d006a
commit 1e854adb84
71 changed files with 49970 additions and 280 deletions

20
test/CMakeLists.txt Normal file
View File

@@ -0,0 +1,20 @@
project(dsdtest)
add_subdirectory(gtest)
add_subdirectory(gmock)
FILE(GLOB SRCS *.cpp)
include_directories(
${PROJECT_SOURCE_DIR}/gtest/include
${PROJECT_SOURCE_DIR}/gmock/include
${dsd_SOURCE_DIR}
)
add_custom_target(test
DEPENDS dsdtest
COMMAND dsdtest
)
ADD_EXECUTABLE(dsdtest ${SRCS})
TARGET_LINK_LIBRARIES(dsdtest gmock gtest)