Move posix tests from gtest-extra-test to a separate test

This commit is contained in:
vitaut
2015-06-24 09:16:03 -07:00
parent 9769f4b9ed
commit 0a7e5141c1
8 changed files with 455 additions and 404 deletions
+4 -3
View File
@@ -62,9 +62,10 @@ add_executable(macro-test macro-test.cc ${FMT_TEST_SOURCES} ${TEST_MAIN_SRC})
target_link_libraries(macro-test gmock)
if (HAVE_OPEN)
add_executable(posix-test posix-mock-test.cc ../format.cc ${TEST_MAIN_SRC})
target_link_libraries(posix-test gmock)
add_test(NAME posix-test COMMAND posix-test)
add_executable(posix-mock-test posix-mock-test.cc ../format.cc ${TEST_MAIN_SRC})
target_link_libraries(posix-mock-test gmock)
add_test(NAME posix-mock-test COMMAND posix-mock-test)
add_fmt_test(posix-test)
endif ()
add_executable(header-only-test