Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix test settings for rosbridge_library #643

Merged
merged 5 commits into from
Oct 7, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions rosbridge_library/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,16 @@ rosidl_generate_interfaces(${PROJECT_NAME}
srv/TestRequestOnly.srv
srv/TestResponseOnly.srv
DEPENDENCIES builtin_interfaces geometry_msgs std_msgs
SKIP_INSTALL
)

ament_export_dependencies(rosidl_default_runtime)

ament_package()

if (BUILD_TESTING)
# TODO re-enable rostests
# find_package(rostest REQUIRED)
# add_rostest(test/capabilities/test_capabilities.test)
# add_rostest(test/internal/test_internal.test)
find_package(ament_cmake_pytest REQUIRED)

# TODO: Enable tests
# ament_add_pytest_test(test_capabilities "test/capabilities")
# ament_add_pytest_test(test_internal "test/internal")
endif()
19 changes: 18 additions & 1 deletion rosbridge_library/package.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
<package format="2">
<package format="3">
<name>rosbridge_library</name>
<version>1.0.8</version>
<description>
Expand Down Expand Up @@ -35,6 +35,23 @@
<exec_depend>rosidl_default_runtime</exec_depend>
<exec_depend>python3-bson</exec_depend>

<test_depend>actionlib_msgs</test_depend>
<test_depend>ament_cmake_pytest</test_depend>
<test_depend>builtin_interfaces</test_depend>
<test_depend>diagnostic_msgs</test_depend>
<test_depend>example_interfaces</test_depend>
<test_depend>geometry_msgs</test_depend>
<test_depend>nav_msgs</test_depend>
<test_depend>sensor_msgs</test_depend>
<test_depend>std_msgs</test_depend>
<test_depend>std_srvs</test_depend>
<test_depend>stereo_msgs</test_depend>
<test_depend>tf2_msgs</test_depend>
<test_depend>trajectory_msgs</test_depend>
<test_depend>visualization_msgs</test_depend>

<member_of_group>rosidl_interface_packages</member_of_group>

<export>
<build_type>ament_cmake</build_type>
</export>
Expand Down
7 changes: 0 additions & 7 deletions rosbridge_library/test/capabilities/test_capabilities.test

This file was deleted.

13 changes: 0 additions & 13 deletions rosbridge_library/test/internal/test_internal.test

This file was deleted.