Skip to content
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

Make easier getting coverage data for devices #63826

Merged
merged 3 commits into from
Oct 25, 2023

Commits on Oct 24, 2023

  1. testsuite: coverage: allow gcov data dump directly on console

    When there is no buffer for gcov hex data,
    dump them directly to console.
    This saves RAM which can be used to hold more gcov data.
    
    Reduce number of gcov hex data send by console -
    do not send space between every two digits.
    
    Signed-off-by: Piotr Kosycarz <piotr.kosycarz@nordicsemi.no>
    nordic-piks committed Oct 24, 2023
    Configuration menu
    Copy the full SHA
    66ee062 View commit details
    Browse the repository at this point in the history
  2. scripts: twister: extend test timeout to get gcov data

    When coverage is enabled, gather console logs longer
    to receive gcov data which are send after test output.
    
    Signed-off-by: Piotr Kosycarz <piotr.kosycarz@nordicsemi.no>
    nordic-piks committed Oct 24, 2023
    Configuration menu
    Copy the full SHA
    bcb1477 View commit details
    Browse the repository at this point in the history
  3. scripts: twister: get status of coverage data processing

    Do not break processing when incorrect coverage data are received.
    Instead, report failures but still process valid data.
    
    Include coverage processing status within twister retrun code.
    
    Signed-off-by: Piotr Kosycarz <piotr.kosycarz@nordicsemi.no>
    nordic-piks committed Oct 24, 2023
    Configuration menu
    Copy the full SHA
    9b21c80 View commit details
    Browse the repository at this point in the history