We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38748ff commit 91e5152Copy full SHA for 91e5152
rosidl_adapter/CMakeLists.txt
@@ -8,8 +8,10 @@ find_package(ament_cmake_python REQUIRED)
8
ament_python_install_package(${PROJECT_NAME})
9
10
if(BUILD_TESTING)
11
+ find_package(ament_cmake_pytest REQUIRED)
12
find_package(ament_lint_auto REQUIRED)
13
ament_lint_auto_find_test_dependencies()
14
+ ament_add_pytest_test(pytest test)
15
endif()
16
17
ament_package(
@@ -25,8 +27,3 @@ install(PROGRAMS
25
27
scripts/msg2idl.py
26
28
scripts/srv2idl.py
29
DESTINATION lib/${PROJECT_NAME})
-
-if(BUILD_TESTING)
30
- find_package(ament_cmake_pytest REQUIRED)
31
- ament_add_pytest_test(pytest test)
32
-endif()
0 commit comments