Loading main-basop.yml +28 −0 Original line number Diff line number Diff line Loading @@ -293,6 +293,10 @@ 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" - summary_args="MLD DIFF SSNR ODG" Loading Loading @@ -432,6 +436,10 @@ workflow: - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/basop/apply-testv-scaling.sh - fi - if [ "$CI_MERGE_REQUEST_TARGET_BRANCH_NAME" == "ivas-float-update" ]; then - export PYTEST_ADDOPTS="${PYTEST_ADDOPTS} -k 'not rtpdump'" - fi - echo "$FLOAT_REF_BRANCH - $FLOAT_REF_BRANCH_MERGE_SOURCE - $CI_MERGE_REQUEST_TARGET_BRANCH_NAME - $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME" # build merge target branch and correpsonding float reference - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/basop/build-binaries.sh float-ref Loading Loading @@ -557,6 +565,10 @@ workflow: - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/basop/apply-testv-scaling.sh - fi - if [ "$CI_MERGE_REQUEST_TARGET_BRANCH_NAME" == "ivas-float-update" ]; then - export PYTEST_ADDOPTS="${PYTEST_ADDOPTS} -k 'not rtpdump'" - fi # check MR title for flag that allows regressions to be mergable - echo $CI_MERGE_REQUEST_TITLE > tmp.txt - allow_regressions_flag=$(grep -c --ignore-case "\[allow[ -]*regression\]" tmp.txt) || true Loading Loading @@ -699,6 +711,10 @@ 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: Loading Loading @@ -1356,6 +1372,10 @@ ivas-pytest-on-merge-request: - export PYTEST_ADDOPTS="${PYTEST_ADDOPTS} -k 'not model'" - fi - if [ "$CI_MERGE_REQUEST_TARGET_BRANCH_NAME" == "ivas-float-update" ]; then - export PYTEST_ADDOPTS="${PYTEST_ADDOPTS} -k 'not rtpdump'" - fi ### prepare pytest # create references - python3 -m pytest "$TESTS_DIR_CODEC_BE_ON_MR"/"$PYTEST_SCRIPT" -v --update_ref 1 Loading Loading @@ -1564,6 +1584,10 @@ ivas-interop-on-merge-request: - source "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/merge-request-comparison-setup-codec.sh - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/basop/merge-request-print-pinned-commits.sh - if [ "$CI_MERGE_REQUEST_TARGET_BRANCH_NAME" == "ivas-float-update" ]; then - export PYTEST_ADDOPTS="${PYTEST_ADDOPTS} -k 'not rtpdump'" - fi # some helper variables - "|| true" to prevent failures from grep not finding anything # write to temporary file as workaround for failures observed with piping echo - echo $CI_MERGE_REQUEST_TITLE > tmp.txt Loading Loading @@ -1796,6 +1820,10 @@ renderer-usan: - export PYTEST_ADDOPTS="${PYTEST_ADDOPTS} -k 'not model'" - fi - if [ "$CI_MERGE_REQUEST_TARGET_BRANCH_NAME" == "ivas-float-update" ]; then - export PYTEST_ADDOPTS="${PYTEST_ADDOPTS} -k 'not rtpdump'" - fi - make_args="CLANG=$CLANG_NUM" # for MRs to main, the whole sanitizer test takes too long (even with stv set of inputs) # shorten files to 1s for that case Loading Loading
main-basop.yml +28 −0 Original line number Diff line number Diff line Loading @@ -293,6 +293,10 @@ 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" - summary_args="MLD DIFF SSNR ODG" Loading Loading @@ -432,6 +436,10 @@ workflow: - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/basop/apply-testv-scaling.sh - fi - if [ "$CI_MERGE_REQUEST_TARGET_BRANCH_NAME" == "ivas-float-update" ]; then - export PYTEST_ADDOPTS="${PYTEST_ADDOPTS} -k 'not rtpdump'" - fi - echo "$FLOAT_REF_BRANCH - $FLOAT_REF_BRANCH_MERGE_SOURCE - $CI_MERGE_REQUEST_TARGET_BRANCH_NAME - $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME" # build merge target branch and correpsonding float reference - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/basop/build-binaries.sh float-ref Loading Loading @@ -557,6 +565,10 @@ workflow: - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/basop/apply-testv-scaling.sh - fi - if [ "$CI_MERGE_REQUEST_TARGET_BRANCH_NAME" == "ivas-float-update" ]; then - export PYTEST_ADDOPTS="${PYTEST_ADDOPTS} -k 'not rtpdump'" - fi # check MR title for flag that allows regressions to be mergable - echo $CI_MERGE_REQUEST_TITLE > tmp.txt - allow_regressions_flag=$(grep -c --ignore-case "\[allow[ -]*regression\]" tmp.txt) || true Loading Loading @@ -699,6 +711,10 @@ 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: Loading Loading @@ -1356,6 +1372,10 @@ ivas-pytest-on-merge-request: - export PYTEST_ADDOPTS="${PYTEST_ADDOPTS} -k 'not model'" - fi - if [ "$CI_MERGE_REQUEST_TARGET_BRANCH_NAME" == "ivas-float-update" ]; then - export PYTEST_ADDOPTS="${PYTEST_ADDOPTS} -k 'not rtpdump'" - fi ### prepare pytest # create references - python3 -m pytest "$TESTS_DIR_CODEC_BE_ON_MR"/"$PYTEST_SCRIPT" -v --update_ref 1 Loading Loading @@ -1564,6 +1584,10 @@ ivas-interop-on-merge-request: - source "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/merge-request-comparison-setup-codec.sh - bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/basop/merge-request-print-pinned-commits.sh - if [ "$CI_MERGE_REQUEST_TARGET_BRANCH_NAME" == "ivas-float-update" ]; then - export PYTEST_ADDOPTS="${PYTEST_ADDOPTS} -k 'not rtpdump'" - fi # some helper variables - "|| true" to prevent failures from grep not finding anything # write to temporary file as workaround for failures observed with piping echo - echo $CI_MERGE_REQUEST_TITLE > tmp.txt Loading Loading @@ -1796,6 +1820,10 @@ renderer-usan: - export PYTEST_ADDOPTS="${PYTEST_ADDOPTS} -k 'not model'" - fi - if [ "$CI_MERGE_REQUEST_TARGET_BRANCH_NAME" == "ivas-float-update" ]; then - export PYTEST_ADDOPTS="${PYTEST_ADDOPTS} -k 'not rtpdump'" - fi - make_args="CLANG=$CLANG_NUM" # for MRs to main, the whole sanitizer test takes too long (even with stv set of inputs) # shorten files to 1s for that case Loading