-
Notifications
You must be signed in to change notification settings - Fork 105
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
Generate xunit files valid for the junit10.xsd #220
Conversation
Signed-off-by: Jose Luis Rivero <jrivero@osrfoundation.org>
Should this be updated then to signal an |
In the case of detecting segfaults or other problems not related to bad results of the test I think so. Let's follow this here: ament/ament_cmake#225 |
Signed-off-by: Jose Luis Rivero <jrivero@osrfoundation.org>
Signed-off-by: Jose Luis Rivero <jrivero@osrfoundation.org>
* Generate xunit files valid for the junit10.xsd (#220) Signed-off-by: Jose Luis Rivero <jrivero@osrfoundation.org> * remove status attribute from result XML (#212) Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com> Co-authored-by: Jose Luis Rivero <jrivero@osrfoundation.org> Co-authored-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>
* Generate xunit files valid for the junit10.xsd (#220) Signed-off-by: Jose Luis Rivero <jrivero@osrfoundation.org> * remove status attribute from result XML (#212) Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com> Co-authored-by: Jose Luis Rivero <jrivero@osrfoundation.org> Co-authored-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>
Signed-off-by: Jose Luis Rivero <jrivero@osrfoundation.org>
With the new xunit plugin version 2.x the xunit files generated should be compliant with the junit10.xsd.
The current code in different packages writing xunit files lacks the required attribute
errors
and useskipped
instead ofskip
. For theskip
attribute the change is trivial. For theerrors
attribute the description is:The code of linters in this repository exit the test to the system if it founds some problems with the manipulation of the different tools (like the lack of cppcheck in ament_cppcheck) so I'm assuming here that if the test is not aborted before the number of these
errors
is 0.Locally the files can be validated using (download the xsd from the link above):
xmllint --schema junit-10.xsd path/to/ppcheck.xunit.xml --noout
Waiting the buildfarm test for this job: