mirror of
https://github.com/facebook/sapling.git
synced 2024-10-06 23:07:18 +03:00
8125e2e115
Summary: The ser, de and roundtrip are duplicated 3 times in the various tests, let's move them into a common library. Reviewed By: chadaustin Differential Revision: D26675989 fbshipit-source-id: 1da0bc33429795a889b72c76fa18e5fa3cb7df6f
22 lines
425 B
CMake
22 lines
425 B
CMake
# 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 XDR_TESTS "*.cpp")
|
|
|
|
add_executable(
|
|
eden_nfs_test
|
|
${XDR_TESTS}
|
|
)
|
|
|
|
target_link_libraries(
|
|
eden_nfs_test
|
|
PUBLIC
|
|
eden_nfs_nfsd_rpc
|
|
eden_nfs_testharness_xdr_test_utils
|
|
${LIBGMOCK_LIBRARIES}
|
|
)
|
|
|
|
gtest_discover_tests(eden_nfs_test)
|