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

overwrite REFERENCE_BRANCH for merges to main-pc

parent c827ca91
Loading
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
@@ -986,12 +986,19 @@ build-codec-linux-debugging-make:
# Short test jobs that run in merge request pipelines
# ---------------------------------------------------------------

.set-reference-for-basop-port-branch: &set-reference-for-basop-port-branch
  - if [ $CI_MERGE_REQUEST_TARGET_BRANCH_NAME = "main-pc" ]; then
  -   *update-scripts-repo
  -   REFERENCE_BRANCH=$(ci/get_float_ref_branch_name.sh)
  - fi

### jobs that test fx encoder -> flt decoder
ivas-pytest-compare_to_main-short-enc:
  extends:
    - .rules-pytest-to-main-short
    - .test-job-linux
  before_script:
    - *set-reference-for-basop-port-branch
    - USE_LTV=0
    - DUT_DECODER_PATH=./IVAS_dec_ref
    - TEST_SUITE="$SHORT_TEST_SUITE_ENCODER"
@@ -1004,6 +1011,7 @@ ivas-pytest-compare_to_main-short-enc-lev-10:
    - .rules-pytest-to-main-short
    - .test-job-linux
  before_script:
    - *set-reference-for-basop-port-branch
    - USE_LTV=0
    - DUT_DECODER_PATH=./IVAS_dec_ref
    - TEST_SUITE="$SHORT_TEST_SUITE_ENCODER"
@@ -1016,6 +1024,7 @@ ivas-pytest-compare_to_main-short-enc-lev+10:
    - .rules-pytest-to-main-short
    - .test-job-linux
  before_script:
    - *set-reference-for-basop-port-branch
    - USE_LTV=0
    - DUT_DECODER_PATH=./IVAS_dec_ref
    - TEST_SUITE="$SHORT_TEST_SUITE_ENCODER"
@@ -1029,6 +1038,7 @@ ivas-pytest-compare_to_main-short-dec:
    - .rules-mr-to-main-or-main-pc-or-manual
    - .test-job-linux
  before_script:
    - *set-reference-for-basop-port-branch
    - USE_LTV=0
    - DUT_ENCODER_PATH=./IVAS_cod_ref
    - TEST_SUITE="$SHORT_TEST_SUITE"
@@ -1041,6 +1051,7 @@ ivas-pytest-compare_to_main-short-dec-lev-10:
    - .rules-mr-to-main-or-main-pc-or-manual
    - .test-job-linux
  before_script:
    - *set-reference-for-basop-port-branch
    - USE_LTV=0
    - DUT_ENCODER_PATH=./IVAS_cod_ref
    - TEST_SUITE="$SHORT_TEST_SUITE"
@@ -1053,6 +1064,7 @@ ivas-pytest-compare_to_main-short-dec-lev+10:
    - .rules-mr-to-main-or-main-pc-or-manual
    - .test-job-linux
  before_script:
    - *set-reference-for-basop-port-branch
    - USE_LTV=0
    - DUT_ENCODER_PATH=./IVAS_cod_ref
    - TEST_SUITE="$SHORT_TEST_SUITE"
@@ -1071,6 +1083,7 @@ ivas-pytest-compare_to_ref-short-enc:
    - .rules-mr-to-main-or-main-pc-or-manual
    - .test-job-linux
  before_script:
    - *set-reference-for-basop-port-branch
    - USE_LTV=0
    - ENCODER_TEST="true"
    - DUT_DECODER_PATH=./$REF_DECODER_PATH
@@ -1084,6 +1097,7 @@ ivas-pytest-compare_to_ref-short-enc-lev-10:
    - .rules-mr-to-main-or-main-pc-or-manual
    - .test-job-linux    
  before_script:
    - *set-reference-for-basop-port-branch
    - USE_LTV=0
    - ENCODER_TEST="true"
    - DUT_DECODER_PATH=./$REF_DECODER_PATH
@@ -1097,6 +1111,7 @@ ivas-pytest-compare_to_ref-short-enc-lev+10:
    - .rules-mr-to-main-or-main-pc-or-manual
    - .test-job-linux    
  before_script:
    - *set-reference-for-basop-port-branch
    - USE_LTV=0
    - ENCODER_TEST="true"
    - DUT_DECODER_PATH=./$REF_DECODER_PATH