File tree Expand file tree Collapse file tree 9 files changed +0
-76
lines changed Expand file tree Collapse file tree 9 files changed +0
-76
lines changed Original file line number Diff line number Diff line change 3535import yaml
3636
3737
38- # Skip cli tests on Windows while they exhibit pathological behavior
39- # https://github.com/ros2/build_farmer/issues/248
40- if sys .platform .startswith ('win' ):
41- pytest .skip (
42- 'CLI tests can block for a pathological amount of time on Windows.' ,
43- allow_module_level = True )
44-
45-
4638@pytest .mark .rostest
4739@launch_testing .parametrize ('rmw_implementation' , get_available_rmw_implementations ())
4840def generate_test_description (rmw_implementation ):
Original file line number Diff line number Diff line change 1515import contextlib
1616import itertools
1717import re
18- import sys
1918import unittest
2019
2120from launch import LaunchDescription
3029import pytest
3130
3231
33- # Skip cli tests on Windows while they exhibit pathological behavior
34- # https://github.com/ros2/build_farmer/issues/248
35- if sys .platform .startswith ('win' ):
36- pytest .skip (
37- 'CLI tests can block for a pathological amount of time on Windows.' ,
38- allow_module_level = True )
39-
40-
4132some_messages_from_test_msgs = [
4233 'test_msgs/msg/BasicTypes' ,
4334 'test_msgs/msg/Constants' ,
Original file line number Diff line number Diff line change 1313# limitations under the License.
1414
1515import contextlib
16- import sys
1716import unittest
1817
1918from launch import LaunchDescription
3231from rclpy .utilities import get_available_rmw_implementations
3332
3433
35- # Skip cli tests on Windows while they exhibit pathological behavior
36- # https://github.com/ros2/build_farmer/issues/248
37- if sys .platform .startswith ('win' ):
38- pytest .skip (
39- 'CLI tests can block for a pathological amount of time on Windows.' ,
40- allow_module_level = True )
41-
42-
4334ALL_LIFECYCLE_NODE_TRANSITIONS = [
4435 '- configure [1]' ,
4536 '\t Start: unconfigured' ,
Original file line number Diff line number Diff line change 3636from rclpy .utilities import get_available_rmw_implementations
3737
3838
39- # Skip cli tests on Windows while they exhibit pathological behavior
40- # https://github.com/ros2/build_farmer/issues/248
41- if sys .platform .startswith ('win' ):
42- pytest .skip (
43- 'CLI tests can block for a pathological amount of time on Windows.' ,
44- allow_module_level = True )
45-
46-
4739@pytest .mark .rostest
4840@launch_testing .parametrize ('rmw_implementation' , get_available_rmw_implementations ())
4941def generate_test_description (rmw_implementation ):
Original file line number Diff line number Diff line change 3535from ros2node .api import INFO_NONUNIQUE_WARNING_TEMPLATE
3636
3737
38- # Skip cli tests on Windows while they exhibit pathological behavior
39- # https://github.com/ros2/build_farmer/issues/248
40- if sys .platform .startswith ('win' ):
41- pytest .skip (
42- 'CLI tests can block for a pathological amount of time on Windows.' ,
43- allow_module_level = True )
44-
45-
4638@pytest .mark .rostest
4739@launch_testing .parametrize ('rmw_implementation' , get_available_rmw_implementations ())
4840def generate_test_description (rmw_implementation ):
Original file line number Diff line number Diff line change 1414
1515import contextlib
1616import os
17- import sys
1817import tempfile
1918import unittest
2019import xml .etree .ElementTree as ET
3130import pytest
3231
3332
34- # Skip cli tests on Windows while they exhibit pathological behavior
35- # https://github.com/ros2/build_farmer/issues/248
36- if sys .platform .startswith ('win' ):
37- pytest .skip (
38- 'CLI tests can block for a pathological amount of time on Windows.' ,
39- allow_module_level = True )
40-
41-
4233some_cli_packages = [
4334 'ros2cli' ,
4435 'ros2pkg'
Original file line number Diff line number Diff line change 3838from test_msgs .srv import BasicTypes
3939
4040
41- # Skip cli tests on Windows while they exhibit pathological behavior
42- # https://github.com/ros2/build_farmer/issues/248
43- if sys .platform .startswith ('win' ):
44- pytest .skip (
45- 'CLI tests can block for a pathological amount of time on Windows.' ,
46- allow_module_level = True )
47-
48-
4941def get_echo_call_output (** kwargs ):
5042 request = BasicTypes .Request ()
5143 for field_name , field_value in kwargs .items ():
Original file line number Diff line number Diff line change 3737from rclpy .utilities import get_available_rmw_implementations
3838
3939
40- # Skip cli tests on Windows while they exhibit pathological behavior
41- # https://github.com/ros2/build_farmer/issues/248
42- if sys .platform .startswith ('win' ):
43- pytest .skip (
44- 'CLI tests can block for a pathological amount of time on Windows.' ,
45- allow_module_level = True )
46-
47-
4840@pytest .mark .rostest
4941@launch_testing .parametrize ('rmw_implementation' , get_available_rmw_implementations ())
5042def generate_test_description (rmw_implementation ):
Original file line number Diff line number Diff line change 1313# limitations under the License.
1414
1515import functools
16- import sys
1716import unittest
1817
1918from launch import LaunchDescription
3837from std_msgs .msg import String
3938
4039
41- # Skip cli tests on Windows while they exhibit pathological behavior
42- # https://github.com/ros2/build_farmer/issues/248
43- if sys .platform .startswith ('win' ):
44- pytest .skip (
45- 'CLI tests can block for a pathological amount of time on Windows.' ,
46- allow_module_level = True )
47-
48-
4940TEST_NODE = 'cli_echo_pub_test_node'
5041TEST_NAMESPACE = 'cli_echo_pub'
5142
You can’t perform that action at this time.
0 commit comments