use GoogleTest / JUnit test result parser based on file pattern in ROS 2 #723
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
http://build.ros2.org/job/Ddev_reconfigure-jobs/494/ used this branch for a dry run and successfully reconfigured
devel
jobs (with no changes) while their template wasn't update to the modified arguments of thepublisher_junit
snippet: 9139aa9#diff-5cf979d1d9687b7cad0d95e630cc87c6R269. This ensured the backward compatibility of the changed snippet arguments works.http://build.ros.org/job/Nci_reconfigure-jobs/186/ used this branch for a dry run and successfully reconfigured
ci
jobs (with no changes): 9139aa9#diff-7b020c516b04814ffc3fc28ed8fac0deR597. This ensures ROS 1 stays untouched.http://build.ros2.org/job/Fci_reconfigure-jobs/5/ (dry run) reconfigured ROS 2 CI jobs to use the more specific xunit types bases on the various patterns.