sapling/eden/integration/CMakeLists.txt
Mark Mendoza 53e1072e7d Deleting failing eden systemd_fixture_test
Summary:
We are trying to get eden running in our atypical EDA corp environment.
When testing it out on one of these machines, we got things sorted out to the point where the only test failures were coming from this file.
chadaustin identified this as being a test of dead code, and so we decided to go for a deletion of it.
If this work resumes, these tests can be retrieved from version control and then be made to work on Centos7 (hopefully at that point we'll also have contbuild/utd magic set-up to have that re-enabling automatically trigger the build/test).

Reviewed By: genevievehelsel

Differential Revision: D23463831

fbshipit-source-id: 7714547c04573b94dbb2d9acf7906734d853c5aa
2020-09-01 22:39:10 -07:00

52 lines
1.3 KiB
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 INTEGRATION_SRCS "*.py")
# Linux-specific integration tests.
if(WIN32 OR APPLE)
list(
REMOVE_ITEM INTEGRATION_SRCS
${CMAKE_CURRENT_SOURCE_DIR}/linux_cgroup_test.py
${CMAKE_CURRENT_SOURCE_DIR}/stale_test.py
)
endif()
if(WIN32)
list(
REMOVE_ITEM INTEGRATION_SRCS
${CMAKE_CURRENT_SOURCE_DIR}/chown_test.py
${CMAKE_CURRENT_SOURCE_DIR}/mmap_test.py
${CMAKE_CURRENT_SOURCE_DIR}/takeover_test.py
${CMAKE_CURRENT_SOURCE_DIR}/userinfo_test.py
)
endif()
# The following integration test files contain one or more tests that require
# pexpect. For now we disable the entire files when pexpect is unavailable.
if(NOT pexpect_FOUND)
list(
REMOVE_ITEM INTEGRATION_SRCS
${CMAKE_CURRENT_SOURCE_DIR}/health_test.py
${CMAKE_CURRENT_SOURCE_DIR}/restart_test.py
${CMAKE_CURRENT_SOURCE_DIR}/service_log_test.py
${CMAKE_CURRENT_SOURCE_DIR}/stop_test.py
)
endif()
add_fb_python_unittest(
integration_tests
SOURCES ${INTEGRATION_SRCS}
WORKING_DIRECTORY "${CMAKE_BINARY_DIR}"
DEPENDS
edenfsctl.main_lib
eden_integration_lib
ENV
"CMAKE_SOURCE_DIR=${CMAKE_SOURCE_DIR}"
)
add_subdirectory(hg)
add_subdirectory(helpers)
add_subdirectory(lib)