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

ament_add_gtest_test: add TEST_NAME parameter #492

Merged
merged 1 commit into from
Nov 15, 2023

Conversation

cwecht
Copy link
Contributor

@cwecht cwecht commented Nov 14, 2023

The need for this change came up in ros2/rcl#1114.
The TEST_NAME parameter has beend added to ament_add_gtest_test which allos for adding multiple test cases for the same executable.

Comment on lines 30 to 31
# :type WORKING_DIRECTORY: string
# :param SKIP_TEST: if set mark the test as being skipped
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These two lines should restored (though the SKIP_TEST one should be moved after the new TEST_NAME option).

Comment on lines 31 to 32
# :type TEST_NAME: string
# :param TEST_NAME: the name of the test
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# :type TEST_NAME: string
# :param TEST_NAME: the name of the test
# :param TEST_NAME: the name of the test, if different than the target name
# :type TEST_NAME: string

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whoops. Fix that one.

@cwecht cwecht force-pushed the ament_add_gtest_test_test_name branch from 20249c9 to e7bb66c Compare November 14, 2023 15:09
@clalancette
Copy link
Contributor

CI:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status

@clalancette clalancette merged commit 4f6f349 into ament:rolling Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants