mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
c0fb9cea2d
Summary: Previously we only included `basic_test.py` and `hg/status_test.py` in the integration tests during CMake-based builds. This updates the code to now include all of the test files, with just a few exclusions based on platform type and what dependencies were available at build time. Reviewed By: wez Differential Revision: D21239912 fbshipit-source-id: b8826d249a6323ac3bcc555c9ceba54a4cbcfde9
18 lines
440 B
CMake
18 lines
440 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 HG_INTEGRATION_SRCS "*.py")
|
|
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)
|