mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 00:14:35 +03:00
0b5a1295fc
Summary: Update the CMakeLists.txt files to support building the hg integration tests. At the moment this only includes one of the test files (`status_test.py`). I have not verified if tests from the other modules pass yet or if they need any additional tweaks to work in CMake-based builds. Reviewed By: pkaush, fanzeyi Differential Revision: D17678991 fbshipit-source-id: 4a5ee5a8d6039d9d2a635c7027897bbeed14f8c0
22 lines
615 B
CMake
22 lines
615 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.
|
|
|
|
# TODO: Eventually we should support all tests here.
|
|
# At the moment I have only confirmed that the tests in status_test.py pass.
|
|
# file(GLOB HG_INTEGRATION_SRCS "*.py")
|
|
set(HG_INTEGRATION_SRCS "status_test.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)
|