Skip to content
This repository was archived by the owner on May 31, 2025. It is now read-only.
This repository was archived by the owner on May 31, 2025. It is now read-only.

add_rostest ARGS only takes the first argument #790

@efernandez

Description

@efernandez

add_rostest(test/testlaunchfile.test argument1:=vaule1 argument2:=value2)

when used in https://github.com/ros/ros_comm/blob/kinetic-devel/tools/rostest/cmake/rostest-extras.cmake.em#L55

generates

-- run_tests.py: execute commands
  /opt/ros/indigo/share/rostest/cmake/../../../bin/rostest --pkgdir=/home/efernandez/ws/src/package_name --package=package_name --results-filename test_package_name__argument1_value1.xml --results-base-dir /home/efernandez/ws/build/package_name/test_results /home/efernandez/ws/src/package_name/test/testlaunchfile.test argument1:=value1
  argument2:=value2

Note that after the first argument, there's a new line. Maybe that's the problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions