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

Add system tests into CI #271

Open
wants to merge 14 commits into
base: rolling
Choose a base branch
from
Open
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Added selected_system_tests argument to integration test
CihatAltiparmak committed Sep 10, 2024
commit 0e0aaeeb99e747bb44ce3808ba4b6a824ef2c4c0
9 changes: 8 additions & 1 deletion rmw_zenoh_cpp/test/rmw_zenoh_integration.test.py
Original file line number Diff line number Diff line change
@@ -21,6 +21,7 @@

import launch
import launch.actions
import launch.substitutions
import launch_ros.actions
import launch_testing.actions
import launch_testing.markers
@@ -34,6 +35,11 @@
@launch_testing.markers.keep_alive
def generate_test_description():

selected_system_tests = launch.substitutions.LaunchConfiguration('selected_system_tests')
selected_system_tests_arg = launch.actions.DeclareLaunchArgument(
'selected_system_tests',
default_value="test_rclcpp test_communication")

zenoh_router = launch_ros.actions.Node(
package="rmw_zenoh_cpp",
executable="rmw_zenohd",
@@ -46,7 +52,7 @@ def generate_test_description():
'colcon',
'test',
'--packages-select',
'test_rclcpp',
selected_system_tests,
'--retest-until-pass',
'2',
],
@@ -55,6 +61,7 @@ def generate_test_description():
)

return launch.LaunchDescription([
selected_system_tests_arg,
zenoh_router,
dut_process,
# In tests where all of the procs under tests terminate themselves, it's necessary