Skip to content
Commits on Source (6)
...@@ -12,3 +12,6 @@ variables: ...@@ -12,3 +12,6 @@ variables:
BASOP_REFERENCE_BRANCH: "ivas-float-update" BASOP_REFERENCE_BRANCH: "ivas-float-update"
SCALE_FACTOR: "3.162" SCALE_FACTOR: "3.162"
BASOP_CI_BRANCH_PC_REPO: "basop-ci-branch" 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"
...@@ -374,6 +374,9 @@ workflow: ...@@ -374,6 +374,9 @@ workflow:
before_script: before_script:
- !reference [ .test-job-linux, before_script ] - !reference [ .test-job-linux, before_script ]
- rm -rf tests/dut tests/ref - rm -rf tests/dut tests/ref
- if [ "$DISABLE_HRTF" = "true" ]; then
- export PYTEST_ADDOPTS="${PYTEST_ADDOPTS} -k 'not model'"
- fi
variables: variables:
USE_LTV: 0 USE_LTV: 0
...@@ -1310,6 +1313,10 @@ ivas-pytest-on-merge-request: ...@@ -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 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 [ $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 ### prepare pytest
# create references # create references
- python3 -m pytest $TESTS_DIR_CODEC_BE_ON_MR -v --update_ref 1 - python3 -m pytest $TESTS_DIR_CODEC_BE_ON_MR -v --update_ref 1
......