Commit e6124230 authored by Jan Kiene's avatar Jan Kiene
Browse files

add first test job for sanitizer run with short testvectors

parent 763d4cf5
Loading
Loading
Loading
Loading
Loading
+31 −0
Original line number Diff line number Diff line
@@ -21,6 +21,7 @@ variables:
      - 'pytest-mld'
      - 'pytest-mld-long'
      - 'evs-26444'
      - 'msan-stv'


default:
@@ -311,6 +312,36 @@ ivas-pytest-mld-dec-lev+10:
    - LEVEL_SCALING=3.162
  <<: *ivas-pytest-mld-anchor

ivas-pytest-dec-msan:
  extends:
    - .test-job-linux
  rules:
    - if: $CI_PIPELINE_SOURCE == 'push'
      when: never
    - if: $CI_PIPELINE_SOURCE == 'merge_request_event'
      when: never
    - if: $CI_PIPELINE_SOURCE == 'schedule' && $IVAS_PYTEST_MSAN
    - if: $CI_PIPELINE_SOURCE == 'web' && $MANUAL_PIPELINE_TYPE == "msan-stv"
  script:
    - *print-common-info
    - *update-scripts-repo
    - *remove-unsupported-testcases
    - *mld-test-setup-codec
    - make clean
    - make -j CLANG=1
    - testcase_timeout=900
    - python3 -m pytest $SHORT_TEST_SUITE -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 --ref_decoder_path ./IVAS_dec
  artifacts:
    name: "ivas-pytest-dec-msan--sha-$CI_COMMIT_SHORT_SHA--results"
    when: always
    expire_in: "2 weeks"
    paths:
      - report-junit.xml
      - report.html
    reports:
      junit:
        - report-junit.xml

# ---------------------------------------------------------------
# Long test jobs 
# ---------------------------------------------------------------