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

change the logging demo test for updated console format #421

Merged
merged 1 commit into from Jan 23, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 8 additions & 3 deletions demo_nodes_cpp/test/test_executables_tutorial.py.in
Expand Up @@ -16,13 +16,18 @@ import launch_testing_ros


def generate_test_description():
os.environ['OSPL_VERBOSITY'] = '8' # 8 = OS_NONE
env = os.environ.copy()
env['OSPL_VERBOSITY'] = '8' # 8 = OS_NONE
# bare minimum formatting for console output matching
os.environ['RCUTILS_CONSOLE_OUTPUT_FORMAT'] = '{message}'
env['RCUTILS_CONSOLE_OUTPUT_FORMAT'] = '{message}'

launch_description = LaunchDescription()
processes_under_test = [
ExecuteProcess(cmd=[executable], name='test_executable_' + str(i), output='screen')
ExecuteProcess(
cmd=[executable],
name='test_executable_' + str(i),
output='screen',
env=env)
for i, executable in enumerate('@DEMO_NODES_CPP_EXECUTABLE@'.split(';'))
]
for process in processes_under_test:
Expand Down