Commit 0c8ec9b9 authored by Jan Kiene's avatar Jan Kiene
Browse files

first shorter test version with needs relation

parent 74319da3
Loading
Loading
Loading
Loading
Loading
+22 −2
Original line number Diff line number Diff line
@@ -185,7 +185,7 @@ stages:
  -   enc_dmx_arg="--compare_enc_dmx"
  - fi

  - python3 -m pytest $TEST_SUITE -v --update_ref 1 $enc_stats_arg $enc_dmx_arg --create_ref -n auto --ref_encoder_path $REF_ENCODER_PATH --ref_decoder_path $REF_DECODER_PATH --dut_encoder_path $DUT_ENCODER_PATH --dut_decoder_path $DUT_DECODER_PATH || exit_code=$?
  - python3 -m pytest -k "stereo and at" $TEST_SUITE -v --update_ref 1 $enc_stats_arg $enc_dmx_arg --create_ref -n auto --ref_encoder_path $REF_ENCODER_PATH --ref_decoder_path $REF_DECODER_PATH --dut_encoder_path $DUT_ENCODER_PATH --dut_decoder_path $DUT_DECODER_PATH || exit_code=$?

.update-scripts-repo: &update-scripts-repo
  - cd $SCRIPTS_DIR
@@ -441,7 +441,7 @@ stages:
    - *build-and-create-reference-outputs

    - exit_code=0
    - python3 -m pytest --tb=no $TEST_SUITE -v --keep_files --create_cut --html=$HTML_REPORT --self-contained-html --junit-xml=$XML_REPORT --mld --ssnr --odg --ref_encoder_path $REF_ENCODER_PATH --ref_decoder_path $REF_DECODER_PATH --dut_encoder_path $DUT_ENCODER_PATH --dut_decoder_path $DUT_DECODER_PATH -n auto --testcase_timeout $testcase_timeout > pytest_log.txt || exit_code=$?
    - python3 -m pytest -k "stereo and at" --tb=no $TEST_SUITE -v --keep_files --create_cut --html=$HTML_REPORT --self-contained-html --junit-xml=$XML_REPORT --mld --ssnr --odg --ref_encoder_path $REF_ENCODER_PATH --ref_decoder_path $REF_DECODER_PATH --dut_encoder_path $DUT_ENCODER_PATH --dut_decoder_path $DUT_DECODER_PATH -n auto --testcase_timeout $testcase_timeout > pytest_log.txt || exit_code=$?
    - zero_errors_branch=$(cat $XML_REPORT | grep -c 'errors="0"') || true

    - touch $FAILED_TESTCASES_LIST
@@ -467,6 +467,7 @@ stages:
      junit:
        - $XML_REPORT_BRANCH
        - $XML_REPORT_MAIN
        - $FAILED_TESTCASES_LIST

.ivas-pytest-on-merge-request-anchor: &ivas-pytest-on-merge-request-anchor
  stage: test
@@ -485,6 +486,9 @@ stages:
    - set -euxo pipefail
    - *print-common-info
    - *update-scripts-repo

    - ls

    - if [ $USE_LTV -eq 1 ]; then
    -    *update-ltv-repo
    -    *copy-ltv-files-to-testv-dir
@@ -860,6 +864,22 @@ check-be-to-target-short-enc-0db:
    - SKIP_REGRESSION_CHECK="true"
  <<: *check-be-to-target-anchor

check-regressions-short-enc-0db:
  stage: test
  needs:
    - job: "check-be-to-target-short-enc-0db"
      artifacts: true
  extends:
    - .rules-pytest-to-main-short
    - .test-job-linux
  before_script:
    - USE_LTV=0
    - DUT_DECODER_PATH=./IVAS_dec_ref
    - TEST_SUITE="$SHORT_TEST_SUITE_ENCODER"
    - LEVEL_SCALING=1.0
    - SKIP_REGRESSION_CHECK="true"
  <<: *ivas-pytest-on-merge-request-anchor

### jobs that test fx encoder -> flt decoder
.ivas-pytest-compare_to_main-short-enc:
  extends: