Commit 4d581683 authored by norvell's avatar norvell
Browse files

Fix order of level scaling. Add anchors for LTV

parent f05a508a
Loading
Loading
Loading
Loading
+14 −3
Original line number Diff line number Diff line
variables:
  LTV_DIR: "/usr/local/ltv"
  REFERENCE_TAG: "20231128_Update_Ittiam"
  BUILD_OUTPUT: "build_output.txt"
  SCRIPTS_DIR: "/usr/local/scripts"
  EXIT_CODE_NON_BE: 123
  EXIT_CODE_FAIL: 1
  TESTS_DIR_CODEC_BE_ON_MR: "tests/codec_be_on_mr_nonselection"
  LEVEL_SCALING: 1.0
  LEVEL_SCALING: "1.0"
  IVAS_PIPELINE_NAME: ''
  MANUAL_PIPELINE_TYPE:
    description: "Type for the manual pipeline run. Use 'pytest-mld' to run MLD test against reference float codec." # Not implemented yet, but may be good to have a manual pipeline trigger
@@ -74,6 +75,16 @@ stages:
  - echo "Applying level scaling in scripts/testv using scale=$LEVEL_SCALING"
  - for file in `ls ./scripts/testv/*.wav`; do tests/scale_pcm.py $file tmp.wav $LEVEL_SCALING; mv tmp.wav $file;done

.update-ltv-repo: &update-ltv-repo
  - cd $LTV_DIR
  - git pull
  - cd -
  
.copy-ltv-files-to-testv-dir: &copy-ltv-files-to-testv-dir
    - cp "$LTV_DIR"/*.wav scripts/testv/
    - cp "$LTV_DIR"/*.met scripts/testv/
    - cp "$LTV_DIR"/*.csv scripts/testv/  

# ---------------------------------------------------------------
# Job templates
# ---------------------------------------------------------------
@@ -203,9 +214,9 @@ ivas-pytest-mld-dec-lev-10:
    - *print-common-info
    - *update-scripts-repo
    - *remove-unsupported-testcases
    - *mld-test-setup-codec
    - LEVEL_SCALING=0.3162 # -10 dB, 10^(-10/20)
    - *apply-testv-scaling    
    - *mld-test-setup-codec

    ### run pytest
    - exit_code=0