Commit 553a3f52 authored by norvell's avatar norvell
Browse files

Added job for simple coverage analysis with single thread gcov/lcov tools

parent 4fc98050
Loading
Loading
Loading
Loading
Loading
+21 −0
Original line number Diff line number Diff line
@@ -491,6 +491,27 @@ sanitizer-test-on-main-scheduled:
      - ep_015.g192
      - "./*/logs"

# GCOV/LCOV coverage analysis of self_test suite
coverage-test-on-main-scheduled:
  extends: 
    - .test-job-linux-needs-testv-dir
    - .rules-main-scheduled
  tags:
    - coverage-test
  stage: test
  script:
    - make GCOV=1 -j
    - ./scripts/self_test.py --create -t 1
    - ./scripts/self_test.py --create -t 1 scripts/config/self_test_evs.prm
    - ./scripts/ivas_pytests/self_test_b.py --create_only --numprocesses 1 --encref IVAS_cod --decref IVAS_dec --encdut IVAS_cod --decdut IVAS_dec
    - lcov -c -d obj -o coverage.info
    - genhtml coverage.info -o coverage
  artifacts:
    - name: "main-coverage-sha-$CI_COMMIT_SHORT_SHA"
    - when: always
    paths:
      - coverage.info
      - coverage

# ---------------------------------------------------------------
# Other jobs