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

Use errors attribute for problems when testing code (take II) #253

Merged
merged 2 commits into from
May 29, 2020

Conversation

j-rivero
Copy link
Contributor

@j-rivero j-rivero commented Apr 27, 2020

Following discussion in #225 (comment), the PR changes the use of failures attribute to errors to report problems with testing code (note the difference with the usual failing tests).

rework of #228

Testing using packages up to rclcpp Build Status

This makes it possible to treat the warnings differently in downstream packages.
Refer to the CMake documentation for more info: https://cmake.org/cmake/help/v3.0/command/message.html

Signed-off-by: Jose Luis Rivero <jrivero@osrfoundation.org>
Signed-off-by: Jose Luis Rivero <jrivero@osrfoundation.org>
@j-rivero
Copy link
Contributor Author

For testing:

I've created a segfault test in rclcpp time and run together with this change: https://ci.ros2.org/job/ci_linux/10916.

Console log:

...
22:06:07 build/rclcpp/test_results/rclcpp/test_time.gtest.xml: 1 test, 1 error, 0 failures, 0 skipped

Reported as usual in the test list: https://ci.ros2.org/job/ci_linux/10916/testReport/junit/(root)/projectroot/test_time/. I don't see any other side effect in the rest of reports.

@j-rivero j-rivero requested a review from dirk-thomas May 27, 2020 22:27
@j-rivero j-rivero merged commit b817874 into master May 29, 2020
@delete-merged-branch delete-merged-branch bot deleted the use_errors_tag2 branch May 29, 2020 15:10
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.

None yet

2 participants