2022-01-05 01:58:22 +03:00
|
|
|
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
2019-10-04 18:55:14 +03:00
|
|
|
#
|
|
|
|
# This software may be used and distributed according to the terms of the
|
|
|
|
# GNU General Public License version 2.
|
|
|
|
|
2020-05-04 21:43:29 +03:00
|
|
|
file(GLOB HG_INTEGRATION_SRCS "*.py")
|
2022-05-07 07:15:55 +03:00
|
|
|
list(REMOVE_ITEM HG_INTEGRATION_SRCS
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/eden_journal_test.py
|
|
|
|
)
|
|
|
|
|
2019-10-04 18:55:14 +03:00
|
|
|
add_fb_python_unittest(
|
|
|
|
hg_integration_tests
|
|
|
|
SOURCES ${HG_INTEGRATION_SRCS}
|
|
|
|
WORKING_DIRECTORY "${CMAKE_BINARY_DIR}"
|
|
|
|
DEPENDS
|
|
|
|
eden_hg_integration_lib
|
|
|
|
ENV
|
|
|
|
"CMAKE_SOURCE_DIR=${CMAKE_SOURCE_DIR}"
|
|
|
|
)
|
|
|
|
|
|
|
|
add_subdirectory(lib)
|