diff --git a/main-basop.yml b/main-basop.yml index c81c2a5a2a7eb474e4da000a706f4379ca024bae..826b1eb454232a4f10d681e9fc9c361cc3f4f533 100644 --- a/main-basop.yml +++ b/main-basop.yml @@ -2301,47 +2301,6 @@ ivas-smoke-test-saturation: - smoke_test_output_hrtf.txt expose_as: "saturation smoke test results" - -# coverage analysis of self_test suite -coverage-test-on-main-scheduled: - extends: - - .test-job-linux - - .rules-coverage - stage: test - timeout: 6 hours - script: - - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-common-info.sh - - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/basop/update-scripts-repo.sh - # Build DuT binaries with coverage instrumentation - - make clean >> /dev/null - - make COVERAGE=1 -j 2>&1 >$MAKE_BUILD_LOG_FILE_DEFAULT - - cp IVAS_rend IVAS_rend_ref # Copy to ensure instrumented renderer is run in ref creation call - - - testcase_timeout=$TESTCASE_TIMEOUT_LTV - - exit_code=0 - - python3 -m pytest --tb=no tests/codec_be_on_mr_nonselection tests/renderer_short --update_ref 1 --create_ref --html=report.html --self-contained-html --junit-xml=report-junit.xml -n auto --testcase_timeout $testcase_timeout --ref_encoder_path IVAS_cod --ref_decoder_path IVAS_dec || exit_code=$? - - lcov -c -d obj -o coverage_enc_dec_rend.info # extract coverage - - # remove apps and lib_util files from coverage - - lcov -r coverage_enc_dec_rend.info "*apps*" -o coverage_enc_dec_rend.info - - lcov -r coverage_enc_dec_rend.info "*lib_util*" -o coverage_enc_dec_rend.info - - - commit_sha=$(git rev-parse HEAD) - - genhtml coverage_enc_dec_rend.info -o coverage_enc_dec_rend -t "Coverage on main @ $commit_sha" - artifacts: - name: "main-coverage-sha-$CI_COMMIT_SHORT_SHA" - when: always - expire_in: 1 week - paths: - - coverage_enc_dec_rend.info - - coverage_enc_dec_rend - - report.html - - $MAKE_BUILD_LOG_FILE_DEFAULT - expose_as: "Coverage result" - reports: - junit: - - report-junit.xml - # --------------------------------------------------------------- # EVS 26.444 test job # ---------------------------------------------------------------