Commit 316806ee authored by Jan Kiene's avatar Jan Kiene
Browse files

Merge branch 'ci/fix-ivas-pytest-anchor' into 'main'

Fix for ivas-pytest-anchor

See merge request !56
parents c14bdb60 c6905378
Loading
Loading
Loading
Loading
+2 −8
Original line number Diff line number Diff line
@@ -293,9 +293,7 @@ workflow:
    -   BUILD_WITH_DEBUG_MODE_INFO="true"
    - fi

    - if [ "$CI_MERGE_REQUEST_TARGET_BRANCH_NAME" == "ivas-float-update" ]; then
    - export PYTEST_ADDOPTS="${PYTEST_ADDOPTS} -k 'not rtpdump'"
    - fi

    - INV_LEVEL_SCALING=$(awk "BEGIN {print 1.0 / $LEVEL_SCALING}")
    - comp_args="--mld --ssnr --odg --scalefac $INV_LEVEL_SCALING"
@@ -709,10 +707,6 @@ workflow:
    -   testcase_timeout_arg=""
    - fi

    - if [ "$CI_MERGE_REQUEST_TARGET_BRANCH_NAME" == "ivas-float-update" ]; then
    -   export PYTEST_ADDOPTS="${PYTEST_ADDOPTS} -k 'not rtpdump'"
    - fi

    # NOTE: here we do not use the "DUT_..CODER_PATH" variables because we do not build via a script, but directly from the make file (which is done because of the "make_args" - no way to inject that into build-binaries.sh)
    - python3 -m pytest $TEST_SUITE -v --tb=no --update_ref 1 --html=report.html --self-contained-html --junit-xml=report-junit.xml $testcase_timeout_arg --ref_encoder_path IVAS_cod --ref_decoder_path IVAS_dec
  artifacts:
@@ -1805,7 +1799,7 @@ renderer-usan:
        - report-junit-5ms.xml

# From float repo
# to be reused in MR and LTV-scheduled sanitizer test jobs
# to be reused in MR test jobs
# set CLANG_NUM, SELFTEST_SANITY_TIMEOUT and SELF_TEST_PRM_FILE in before_script section
.sanitizer-selftest-anchor: &sanitizer-selftest-anchor
    - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/print-common-info.sh