Commit 1e853207 authored by Jan Kiene's avatar Jan Kiene
Browse files

skip regressions check for encoder tests

this way, the tests will return the allowed-to-fail exit code if non-BE
is detected and 0 if everything is BE
parent caffabf9
Loading
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -439,7 +439,7 @@ stages:

    - if [ $exit_code -eq 1 ]; then echo "Differences encountered"; exit_code=$EXIT_CODE_NON_BE; fi
    - if [ $zero_errors_branch != 1 ]; then echo "Run errors encountered!"; exit_code=$EXIT_CODE_NON_BE; fi
    - if [ $regressions_found != 0 ]; then
    - if [ $regressions_found != 0 && "$SKIP_REGRESSION_CHECK" != "true" ]; then
    -    if [ $allow_regressions_flag == 0 ]; then
    -        echo "Detected regression wrt to main, [allow regression] not set!"
    -        exit_code=$EXIT_CODE_FAIL;
@@ -725,6 +725,7 @@ ivas-pytest-compare_to_main-short-enc:
    - 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

ivas-pytest-compare_to_main-short-enc-lev-10:
@@ -736,6 +737,7 @@ ivas-pytest-compare_to_main-short-enc-lev-10:
    - DUT_DECODER_PATH=./IVAS_dec_ref
    - TEST_SUITE="$SHORT_TEST_SUITE_ENCODER"
    - LEVEL_SCALING=0.3162
    - SKIP_REGRESSION_CHECK="true"
  <<: *ivas-pytest-on-merge-request-anchor

ivas-pytest-compare_to_main-short-enc-lev+10:
@@ -747,6 +749,7 @@ ivas-pytest-compare_to_main-short-enc-lev+10:
    - DUT_DECODER_PATH=./IVAS_dec_ref
    - TEST_SUITE="$SHORT_TEST_SUITE_ENCODER"
    - LEVEL_SCALING=3.162
    - SKIP_REGRESSION_CHECK="true"
  <<: *ivas-pytest-on-merge-request-anchor

### jobs that test flt encoder -> fx decoder