Commit 7eded603 authored by Jan Kiene's avatar Jan Kiene
Browse files

Merge branch 'kiene/disable-hrtf-testcases-mechanism' into 'main'

Add DISABLE_HRTF mechanism back

See merge request !29
parents 09f90024 ba113a37
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -12,3 +12,6 @@ variables:
  BASOP_REFERENCE_BRANCH: "ivas-float-update"
  SCALE_FACTOR: "3.162"
  BASOP_CI_BRANCH_PC_REPO: "basop-ci-branch"
  PYTEST_ADDOPTS: ""
  # overwrite this via .gitlab/variables.yml in the respective other repo to disable "(model from file)" testcases
  DISABLE_HRTF: "false"
+7 −0
Original line number Diff line number Diff line
@@ -374,6 +374,9 @@ workflow:
  before_script:
    - !reference [ .test-job-linux, before_script ]
    - rm -rf tests/dut tests/ref
    - if [ "$DISABLE_HRTF" = "true" ]; then
    -   export PYTEST_ADDOPTS="${PYTEST_ADDOPTS} -k 'not model'"
    - fi
  variables:
    USE_LTV: 0

@@ -1310,6 +1313,10 @@ ivas-pytest-on-merge-request:
    ### If ref_using_target is not set, checkout the source branch to use scripts and input from there
    - if [ $ref_using_target == 0 ]; then git checkout $source_branch_commit_sha; fi

    - if [ "$DISABLE_HRTF" = "true" ]; then
    -   export PYTEST_ADDOPTS="${PYTEST_ADDOPTS} -k 'not model'"
    - fi

    ### prepare pytest
    # create references
    - python3 -m pytest $TESTS_DIR_CODEC_BE_ON_MR -v --update_ref 1