File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -122,6 +122,7 @@ if (NOT DEFINED XPYTHON_DEBUGGER_AVAILABLE)
122122 set (XPYTHON_DEBUGGER_AVAILABLE "false" )
123123 else ()
124124 set (XPYTHON_DEBUGGER_AVAILABLE "true" )
125+ set (XPYT_TEST_DEBUGGER TRUE )
125126 endif ()
126127 message (STATUS "XPYTHON_DEBUGGER_AVAILABLE=${XPYTHON_DEBUGGER_AVAILABLE} " )
127128endif ()
Original file line number Diff line number Diff line change @@ -50,11 +50,16 @@ include_directories(${GTEST_INCLUDE_DIRS} SYSTEM)
5050set (XEUS_PYTHON_TESTS
5151 main.cpp
5252 ../src/xutils.cpp
53- test_debugger.cpp
54- xeus_client.hpp
55- xeus_client.cpp
5653)
5754
55+ if (${XPYT_TEST_DEBUGGER} )
56+ list (APPEND ${XEUS_PYTHON_TESTS}
57+ test_debugger.cpp
58+ xeus_client.hpp
59+ xeus_client.cpp
60+ )
61+ endif ()
62+
5863add_executable (test_xeus_python ${XEUS_PYTHON_TESTS} )
5964
6065target_compile_features (test_xeus_python PRIVATE cxx_std_17)
You can’t perform that action at this time.
0 commit comments