Skip to content
Commit 89c3885c authored by Carles Cufi's avatar Carles Cufi Committed by Anas Nashif
Browse files

scripts: compliance: Add a new formatted failure method and class

Format the JUnit failure according to the standard:
https://www.ibm.com/docs/en/developer-for-zos/14.2?topic=formats-junit-xml-format



This also includes a new FmtdFailure class, which will be used in
subsequent commits to implement GitHub-compatible annotations. A list of
FmtdFailure instances is kept in the ComplianceTest instance because
the TestCase instance cannot restore classes derived from Result that
the junitparser module doesn't know about.

Use the new function to format checkpatch errors.

Signed-off-by: default avatarCarles Cufi <carles.cufi@nordicsemi.no>
parent e9415cf9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment