Commit 2d3df7ed authored by Archit Tamarapu's avatar Archit Tamarapu
Browse files

[fix] substitute path also for ivas-conformance-linux and replace glob with...

[fix] substitute path also for ivas-conformance-linux and replace glob with explicit file list (lcov doesn't like multiple arguments for -a)
parent 52854f01
Loading
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1441,6 +1441,8 @@ ivas-conformance-linux:
    - lcov -r coverage.info "*apps*" -o coverage.info
    - lcov -r coverage.info "*lib_util*" -o coverage.info
    - commit_sha=$(git rev-parse HEAD)
    # replace hardcoded path with relative path to allow easy merging of .info files
    - sed -i "s|$(pwd)|..|g" coverage.info
    - genhtml coverage.info -o coverage -t "Coverage on main @ $commit_sha"

    # Check for failures
@@ -2243,7 +2245,7 @@ coverage-merge:
    # - !reference [.job-linux, before_script] # check if this is really needed
  script:
    - echo "Merging coverage reports..."
    - lcov -a *.info -o coverage_merged.info
    - lcov -a coverage.info -a coverage_stv.info -a coverage_ltv.info -o coverage_merged.info
    - commit_sha=$(git rev-parse HEAD)
    - genhtml coverage_merged.info -o coverage_merged -t "Merged Coverage Report @ $commit_sha"
  artifacts: