Skip to content

use GoogleTest / JUnit test result parser based on file pattern in ROS 2#723

Merged
dirk-thomas merged 4 commits intomasterfrom
dirk-thomas/ros2-use-specific-junit-test-types
Jan 30, 2020
Merged

use GoogleTest / JUnit test result parser based on file pattern in ROS 2#723
dirk-thomas merged 4 commits intomasterfrom
dirk-thomas/ros2-use-specific-junit-test-types

Conversation

@dirk-thomas
Copy link
Copy Markdown
Member

@dirk-thomas dirk-thomas commented Jan 28, 2020

For ROS 1 the logic keeps using only GoogleTest for all XML results.

The change matches the logic of ci.ros2.org except that there is no CTest type configured since the build directory is wiped before test results are collected. This will make Jenkins render better error messages for failed test: e.g. bad vs. good.

@tfoote
Copy link
Copy Markdown
Member

tfoote commented Jan 30, 2020

The CI is having an issue with "names" in the template. Is this the empy bug you found?

@dirk-thomas
Copy link
Copy Markdown
Member Author

The CI is having an issue with "names" in the template. Is this the empy bug you found?

Correct. I already reported it upstream. But even if upstream fixed the problem and released a new version I think we have to work around the problem by not using the problematic logic in empy. (Not yet sure how...)

Copy link
Copy Markdown
Contributor

@nuclearsandwich nuclearsandwich left a comment

Choose a reason for hiding this comment

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

The change itself looks good. CI not passing sounds like a separate issue that's being worked on independently.

@dirk-thomas dirk-thomas merged commit d94515f into master Jan 30, 2020
@dirk-thomas dirk-thomas deleted the dirk-thomas/ros2-use-specific-junit-test-types branch January 30, 2020 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants