Open ewalkusx opened 2 weeks ago
Perhaps add a coverage()
method to the BuildSystem
class in https://github.com/openbmc/openbmc-build-scripts/blob/master/scripts/unit-test.py#L526 ? That way it can be run independent of other analysis.
https://gerrit.openbmc.org/c/openbmc/openbmc-build-scripts/+/72727
Add an optional parameter ANALYSES
to enable the ability to run only the listed analyses in the given order.
I think this solution has more potential.
All BMC downstream repos should generate UT coverage report using upstream script, but there are problems with analyzes. There is no coverage report if the previous analyzes fail.
-Db_lundef=false
and-Db_sanitize=address,undefined
I can propose 2 solutions: 1) changing the order of the analyzes https://gerrit.openbmc.org/c/openbmc/openbmc-build-scripts/+/72247 2) adding coverage report to 'TEST_ONLY' option
Any other ideas? 🙂