Loading .gitlab-ci.yml +1 −3 Original line number Diff line number Diff line Loading @@ -506,9 +506,7 @@ codec-usan: - testcase_timeout=180 - exit_code=0 - python3 -m pytest tests/codec_be_on_mr_nonselection/test_param_file.py -v --update_ref 1 -m create_ref --html=report.html --self-contained-html --junit-xml=report-junit.xml --testcase_timeout=$testcase_timeout --ref_encoder_path ./IVAS_cod --ref_decoder_path ./IVAS_dec || exit_code=$? - grep_exit_code=0 - grep UndefinedBehaviorSanitizer report.html || grep_exit_code=$? - if [ $grep_exit_code != 1 ] ; then echo "Run errors with Clang undefined-behavior-sanitizer"; exit 1; fi - if [ $exit_code != 0 ] ; then echo "Run errors found by Clang undefined-behavior-sanitizer"; exit 1; fi artifacts: name: "mr-$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--stage-$CI_JOB_STAGE--results" expire_in: 1 week Loading Loading
.gitlab-ci.yml +1 −3 Original line number Diff line number Diff line Loading @@ -506,9 +506,7 @@ codec-usan: - testcase_timeout=180 - exit_code=0 - python3 -m pytest tests/codec_be_on_mr_nonselection/test_param_file.py -v --update_ref 1 -m create_ref --html=report.html --self-contained-html --junit-xml=report-junit.xml --testcase_timeout=$testcase_timeout --ref_encoder_path ./IVAS_cod --ref_decoder_path ./IVAS_dec || exit_code=$? - grep_exit_code=0 - grep UndefinedBehaviorSanitizer report.html || grep_exit_code=$? - if [ $grep_exit_code != 1 ] ; then echo "Run errors with Clang undefined-behavior-sanitizer"; exit 1; fi - if [ $exit_code != 0 ] ; then echo "Run errors found by Clang undefined-behavior-sanitizer"; exit 1; fi artifacts: name: "mr-$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--stage-$CI_JOB_STAGE--results" expire_in: 1 week Loading