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

add new job that tests BASOP ref compatibility with --compare_enc_dmx

parent 3741bb1c
Loading
Loading
Loading
Loading
Loading
+12 −1
Original line number Diff line number Diff line
@@ -31,6 +31,7 @@ variables:
  TESTCASE_TIMEOUT_LTV_SANITIZERS: 2400
  BASOP_REFERENCE_BRANCH: "ivas-float-update"
  SCALE_FACTOR: "3.162"
  PYTEST_ARGS: ""


default:
@@ -473,7 +474,7 @@ branch-is-up-to-date-with-main-post:

    - *get-basop-float-reference

    - python3 -m pytest tests/codec_be_on_mr_nonselection --param_file $PARAM_FILE --update_ref 1 --ref_encoder_path IVAS_cod --ref_decoder_path IVAS_dec --html=report.html --self-contained-html --junit-xml=report-junit.xml || true
    - python3 -m pytest tests/codec_be_on_mr_nonselection $PYTEST_ARGS --param_file $PARAM_FILE --update_ref 1 --ref_encoder_path IVAS_cod --ref_decoder_path IVAS_dec --html=report.html --self-contained-html --junit-xml=report-junit.xml || true
    - zero_errors=$(cat report-junit.xml | grep -c 'errors="0"') || true
    - if [ $zero_errors != 1 ]; then echo "Run errors encountered with $PARAM_FILE !"; exit $EXIT_CODE_FAIL; fi

@@ -522,6 +523,16 @@ check-compatibility-with-basop-reference-branch-encoder-ltv:
  script:
    - exit 0

check-compatibility-with-basop-reference-branch-encoder-dmx-comparison:
  extends:
    - .basop-ci-branch-compat-template
  variables:
    PARAM_FILE: scripts/config/self_test_basop_encoder.prm
    # USING PYTEST_ADDOPTS env var did not work for some reason when testing locally - maybe because this is a custom option
    PYTEST_ARGS: "--compare_dmx_enc"
  script:
    - exit 0

# ---------------------------------------------------------------
# Build jobs
# ---------------------------------------------------------------