Skip to content

Commit 2cb061b

Browse files
github-actions[bot]greenc-FNAL
authored andcommitted
Apply cmake-format fixes
1 parent aaba97b commit 2cb061b

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

test/python/CMakeLists.txt

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,18 +70,12 @@ if(HAS_CPPYY)
7070
else()
7171
set(PYTEST_COMMAND ${PYTHON_TEST_EXECUTABLE} -m pytest test_phlex.py)
7272
if(ENABLE_COVERAGE AND NOT HAS_PYTEST_COV)
73-
message(
74-
WARNING "ENABLE_COVERAGE is ON but pytest-cov not found; Python coverage disabled"
75-
)
73+
message(WARNING "ENABLE_COVERAGE is ON but pytest-cov not found; Python coverage disabled")
7674
endif()
7775
endif()
7876

7977
# tests of the python support modules (relies on cppyy)
80-
add_test(
81-
NAME py:phlex
82-
COMMAND ${PYTEST_COMMAND}
83-
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
84-
)
78+
add_test(NAME py:phlex COMMAND ${PYTEST_COMMAND} WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
8579

8680
set_property(TEST py:phlex PROPERTY ENVIRONMENT "PHLEX_INSTALL=${PYTHON_TEST_PHLEX_INSTALL}")
8781
endif()

0 commit comments

Comments
 (0)