Skip to content

[FEATURE] Drop Cmocka unit tests dependence on XTOS CMake files #1162

Open

Description

@singalsu

Is your feature request related to a problem? Please describe.
The test/cmocka/CMakeLists.txt needs an non-existing XTOS header src/arch/xtos-wrapper/include.
We can't run xtensa unit tests.

Describe the solution you'd like
Platform independent generic headers to replace XTOS header would be needed for cmocka minimum needs.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Activity

  1. added
    type:test coverage gapThis requires a new test case, not just fixing one
    P2Critical bugs or normal features
    on Mar 28, 2024
  2. marc-hb commented on Mar 28, 2024

    @marc-hb
    Collaborator

    Thanks @singalsu for filing this! Any idea how "hard" is the dependency on XTOS headers and CMake files? Days or weeks of work?

    I think it's good to have this file in in sof-test because that's where we file and triage most of our test coverage gaps but all the corresponding code is in the main sof repo and should stay there.

  3. changed the title [-][FEATURE] Fix for Cmocka unit tests dependence on XTOS CMake files[/-] [+][FEATURE] Drop Cmocka unit tests dependence on XTOS CMake files[/+] on Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Critical bugs or normal featurestype:test coverage gapThis requires a new test case, not just fixing one

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions