Skip to content

Commit 7b63f9e

Browse files
committed
Disables debugger tests when debugger is not available
1 parent 08bb94f commit 7b63f9e

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

test/CMakeLists.txt

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,14 @@ include_directories(${GTEST_INCLUDE_DIRS} SYSTEM)
5050
set(XEUS_PYTHON_TESTS
5151
main.cpp
5252
../src/xutils.cpp
53-
test_debugger.cpp
54-
xeus_client.hpp
55-
xeus_client.cpp
53+
)
54+
55+
if (XPYTHON_DEBUGGER_AVAILABLE)
56+
list(APPEND ${XEUS_PYTHON_TESTS}
57+
test_debugger.cpp
58+
xeus_client.hpp
59+
xeus_client.cpp
60+
)
5661
)
5762

5863
add_executable(test_xeus_python ${XEUS_PYTHON_TESTS})

0 commit comments

Comments
 (0)