Skip to content

Add s32k1xx modules to code coverage report #237

@aschaal

Description

@aschaal

With latest main of OpenBSW, there are now two presets for unit tests:

  • tests-posix-debug (and release)
  • tests-s32k1xx-debug (and release)

Before it was just tests-debug (and release).

tests-posix-debug includes platform/posix, but also all generic modules (it is combined because some generic modules have dependencies to platform specific modules, and POSIX is the platform on which our unit tests run anyhow, so this was an obvious decision).

The code coverage build was adapted, so it uses tests-posix-debug. Please integrate also s32k1xx.

Basically there are two options:

  • Add another report (means another link from main doc page). This should be straight forward. But you need to find a way to calculate the coverage for the badge.
  • Merge the builds. Should be possible with lcov or an add-on. Could be a bit more complicated, but this way we can still have one single report and one badge.

@marcmo, do you have any preferences?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions