mirror of
https://github.com/facebook/sapling.git
synced 2024-10-05 06:18:07 +03:00
model: add git tests to CMake
Summary: All the tests are passing. Reviewed By: chadaustin Differential Revision: D21341730 fbshipit-source-id: 90a3872b190879ec163935ff53703157028f87bc
This commit is contained in:
parent
e6ac99b269
commit
a351d8d136
@ -13,3 +13,5 @@ target_link_libraries(
|
||||
PUBLIC
|
||||
eden_model
|
||||
)
|
||||
|
||||
add_subdirectory(test)
|
||||
|
19
eden/fs/model/git/test/CMakeLists.txt
Normal file
19
eden/fs/model/git/test/CMakeLists.txt
Normal file
@ -0,0 +1,19 @@
|
||||
# Copyright (c) Facebook, Inc. and its affiliates.
|
||||
#
|
||||
# This software may be used and distributed according to the terms of the
|
||||
# GNU General Public License version 2.
|
||||
|
||||
file(GLOB MODEL_GIT_TEST_SRCS "*Test.cpp")
|
||||
add_executable(
|
||||
eden_model_git_test
|
||||
${MODEL_GIT_TEST_SRCS}
|
||||
)
|
||||
|
||||
target_link_libraries(
|
||||
eden_model_git_test
|
||||
PRIVATE
|
||||
eden_model_git
|
||||
${LIBGMOCK_LIBRARIES}
|
||||
)
|
||||
|
||||
gtest_discover_tests(eden_model_git_test)
|
Loading…
Reference in New Issue
Block a user