@@ -75,10 +75,6 @@ if(BUILD_TESTING)
75
75
76
76
find_package (launch_testing_ament_cmake REQUIRED)
77
77
78
- # Provides PYTHON_EXECUTABLE_DEBUG
79
- find_package (python_cmake_module REQUIRED)
80
- find_package (PythonExtra REQUIRED)
81
-
82
78
# get the rmw implementations ahead of time
83
79
find_package (rmw_implementation_cmake REQUIRED)
84
80
get_available_rmw_implementations(rmw_implementations2)
@@ -241,7 +237,6 @@ if(BUILD_TESTING)
241
237
add_launch_test(
242
238
"${CMAKE_CURRENT_BINARY_DIR} /test_publisher_subscriber${suffix} _$<CONFIG>.py"
243
239
TARGET test_publisher_subscriber${suffix}
244
- PYTHON_EXECUTABLE "${_PYTHON_EXECUTABLE} "
245
240
APPEND_LIBRARY_DIRS "${append_library_dirs} "
246
241
TIMEOUT ${timeout}
247
242
${SKIP_TEST} )
@@ -283,7 +278,6 @@ if(BUILD_TESTING)
283
278
add_launch_test(
284
279
"${CMAKE_CURRENT_BINARY_DIR} /test_requester_replier${suffix} _$<CONFIG>.py"
285
280
TARGET test_requester_replier${suffix}
286
- PYTHON_EXECUTABLE "${_PYTHON_EXECUTABLE} "
287
281
APPEND_LIBRARY_DIRS "${append_library_dirs} "
288
282
TIMEOUT ${timeout}
289
283
${SKIP_TEST} )
@@ -321,7 +315,6 @@ if(BUILD_TESTING)
321
315
add_launch_test(
322
316
"${CMAKE_CURRENT_BINARY_DIR} /test_action_client_server${suffix} _$<CONFIG>.py"
323
317
TARGET test_action_client_server${suffix}
324
- PYTHON_EXECUTABLE "${_PYTHON_EXECUTABLE} "
325
318
APPEND_LIBRARY_DIRS "${append_library_dirs} "
326
319
TIMEOUT ${timeout}
327
320
${SKIP_TEST} )
@@ -335,7 +328,6 @@ if(BUILD_TESTING)
335
328
endmacro ()
336
329
337
330
macro (configure_template _client_library1 _client_library2)
338
- set (_PYTHON_EXECUTABLE "${PYTHON_EXECUTABLE} " )
339
331
set (_client_library1 "${_client_library1} " )
340
332
set (_client_library2 "${_client_library2} " )
341
333
set (TEST_PUBLISHER_RCL "${_client_library1} " )
@@ -351,14 +343,6 @@ if(BUILD_TESTING)
351
343
set (suffix "__${_client_library1} __${_client_library2} " )
352
344
endif ()
353
345
354
- if (_client_library1 STREQUAL "rclpy" OR _client_library2 STREQUAL "rclpy" )
355
- if (WIN32 )
356
- if (CMAKE_BUILD_TYPE STREQUAL "Debug" )
357
- set (_PYTHON_EXECUTABLE "${PYTHON_EXECUTABLE_DEBUG} " )
358
- endif ()
359
- endif ()
360
- endif ()
361
-
362
346
if (_client_library1 STREQUAL "rclpy" )
363
347
set (TEST_PUBLISHER_EXECUTABLE "${CMAKE_CURRENT_SOURCE_DIR} /test/publisher_py.py" )
364
348
set (TEST_REQUESTER_EXECUTABLE "${CMAKE_CURRENT_SOURCE_DIR} /test/requester_py.py" )
0 commit comments