Loading .gitlab-ci.yml +16 −4 Original line number Diff line number Diff line Loading @@ -91,8 +91,8 @@ stages: # create short test vectors - python3 tests/create_short_testvectors.py # create references - python3 -m pytest "$TEST_SUITE" -v --update_ref 1 -m create_ref -n auto - python3 -m pytest "$TEST_SUITE" -v --update_ref 1 -m create_ref_part2 -n auto - python3 -m pytest $TEST_SUITE -v --update_ref 1 -m create_ref -n auto - python3 -m pytest $TEST_SUITE -v --update_ref 1 -m create_ref_part2 -n auto .update-scripts-repo: &update-scripts-repo Loading Loading @@ -186,9 +186,9 @@ stages: ### run pytest - exit_code=0 - if [ $USE_REF_ENC -eq 1 ]; then - python3 -m pytest "$TEST_SUITE" -v --html=report.html --self-contained-html --junit-xml=report-junit.xml --mld --dut_encoder_path ./IVAS_cod_ref -n auto || exit_code=$? - python3 -m pytest $TEST_SUITE -v --html=report.html --self-contained-html --junit-xml=report-junit.xml --mld --dut_encoder_path ./IVAS_cod_ref -n auto || exit_code=$? - else - python3 -m pytest "$TEST_SUITE" -v --html=report.html --self-contained-html --junit-xml=report-junit.xml --mld -n auto || exit_code=$? - python3 -m pytest $TEST_SUITE -v --html=report.html --self-contained-html --junit-xml=report-junit.xml --mld -n auto || exit_code=$? - fi - zero_errors=$(cat report-junit.xml | grep -c 'errors="0"') || true Loading Loading @@ -242,6 +242,7 @@ ivas-pytest-mld-enc-dec: - .rules-pytest-mld - .test-job-linux before_script: - USE_LTV=0 - USE_REF_ENC=0 - TEST_SUITE="$SHORT_TEST_SUITE" - LEVEL_SCALING=1.0 Loading @@ -252,6 +253,7 @@ ivas-pytest-mld-dec: - .rules-pytest-mld - .test-job-linux before_script: - USE_LTV=0 - USE_REF_ENC=1 - TEST_SUITE="$SHORT_TEST_SUITE" - LEVEL_SCALING=1.0 Loading @@ -262,6 +264,7 @@ ivas-pytest-mld-enc-dec-lev-10: - .rules-pytest-mld - .test-job-linux before_script: - USE_LTV=0 - USE_REF_ENC=0 - TEST_SUITE="$SHORT_TEST_SUITE" - LEVEL_SCALING=0.3162 Loading @@ -272,6 +275,7 @@ ivas-pytest-mld-dec-lev-10: - .rules-pytest-mld - .test-job-linux before_script: - USE_LTV=0 - USE_REF_ENC=1 - TEST_SUITE="$SHORT_TEST_SUITE" - LEVEL_SCALING=0.3162 Loading @@ -282,6 +286,7 @@ ivas-pytest-mld-enc-dec-lev+10: - .rules-pytest-mld - .test-job-linux before_script: - USE_LTV=0 - USE_REF_ENC=0 - TEST_SUITE="$SHORT_TEST_SUITE" - LEVEL_SCALING=3.162 Loading @@ -292,6 +297,7 @@ ivas-pytest-mld-dec-lev+10: - .rules-pytest-mld - .test-job-linux before_script: - USE_LTV=0 - USE_REF_ENC=1 - TEST_SUITE="$SHORT_TEST_SUITE" - LEVEL_SCALING=3.162 Loading @@ -306,6 +312,7 @@ ivas-pytest-mld-long-enc-dec: - .rules-pytest-mld-long - .test-job-linux before_script: - USE_LTV=1 - USE_REF_ENC=0 - TEST_SUITE="$LONG_TEST_SUITE" - LEVEL_SCALING=1.0 Loading @@ -316,6 +323,7 @@ ivas-pytest-mld-long-dec: - .rules-pytest-mld-long - .test-job-linux before_script: - USE_LTV=1 - USE_REF_ENC=1 - TEST_SUITE="$LONG_TEST_SUITE" - LEVEL_SCALING=1.0 Loading @@ -326,6 +334,7 @@ ivas-pytest-mld-long-enc-dec-lev-10: - .rules-pytest-mld-long - .test-job-linux before_script: - USE_LTV=1 - USE_REF_ENC=0 - TEST_SUITE="$LONG_TEST_SUITE" - LEVEL_SCALING=0.3162 Loading @@ -336,6 +345,7 @@ ivas-pytest-mld-long-dec-lev-10: - .rules-pytest-mld-long - .test-job-linux before_script: - USE_LTV=1 - USE_REF_ENC=1 - TEST_SUITE="$LONG_TEST_SUITE" - LEVEL_SCALING=0.3162 Loading @@ -346,6 +356,7 @@ ivas-pytest-mld-long-enc-dec-lev+10: - .rules-pytest-mld-long - .test-job-linux before_script: - USE_LTV=1 - USE_REF_ENC=0 - TEST_SUITE="$LONG_TEST_SUITE" - LEVEL_SCALING=3.162 Loading @@ -356,6 +367,7 @@ ivas-pytest-mld-long-dec-lev+10: - .rules-pytest-mld-long - .test-job-linux before_script: - USE_LTV=1 - USE_REF_ENC=1 - TEST_SUITE="$LONG_TEST_SUITE" - LEVEL_SCALING=3.162 Loading Loading
.gitlab-ci.yml +16 −4 Original line number Diff line number Diff line Loading @@ -91,8 +91,8 @@ stages: # create short test vectors - python3 tests/create_short_testvectors.py # create references - python3 -m pytest "$TEST_SUITE" -v --update_ref 1 -m create_ref -n auto - python3 -m pytest "$TEST_SUITE" -v --update_ref 1 -m create_ref_part2 -n auto - python3 -m pytest $TEST_SUITE -v --update_ref 1 -m create_ref -n auto - python3 -m pytest $TEST_SUITE -v --update_ref 1 -m create_ref_part2 -n auto .update-scripts-repo: &update-scripts-repo Loading Loading @@ -186,9 +186,9 @@ stages: ### run pytest - exit_code=0 - if [ $USE_REF_ENC -eq 1 ]; then - python3 -m pytest "$TEST_SUITE" -v --html=report.html --self-contained-html --junit-xml=report-junit.xml --mld --dut_encoder_path ./IVAS_cod_ref -n auto || exit_code=$? - python3 -m pytest $TEST_SUITE -v --html=report.html --self-contained-html --junit-xml=report-junit.xml --mld --dut_encoder_path ./IVAS_cod_ref -n auto || exit_code=$? - else - python3 -m pytest "$TEST_SUITE" -v --html=report.html --self-contained-html --junit-xml=report-junit.xml --mld -n auto || exit_code=$? - python3 -m pytest $TEST_SUITE -v --html=report.html --self-contained-html --junit-xml=report-junit.xml --mld -n auto || exit_code=$? - fi - zero_errors=$(cat report-junit.xml | grep -c 'errors="0"') || true Loading Loading @@ -242,6 +242,7 @@ ivas-pytest-mld-enc-dec: - .rules-pytest-mld - .test-job-linux before_script: - USE_LTV=0 - USE_REF_ENC=0 - TEST_SUITE="$SHORT_TEST_SUITE" - LEVEL_SCALING=1.0 Loading @@ -252,6 +253,7 @@ ivas-pytest-mld-dec: - .rules-pytest-mld - .test-job-linux before_script: - USE_LTV=0 - USE_REF_ENC=1 - TEST_SUITE="$SHORT_TEST_SUITE" - LEVEL_SCALING=1.0 Loading @@ -262,6 +264,7 @@ ivas-pytest-mld-enc-dec-lev-10: - .rules-pytest-mld - .test-job-linux before_script: - USE_LTV=0 - USE_REF_ENC=0 - TEST_SUITE="$SHORT_TEST_SUITE" - LEVEL_SCALING=0.3162 Loading @@ -272,6 +275,7 @@ ivas-pytest-mld-dec-lev-10: - .rules-pytest-mld - .test-job-linux before_script: - USE_LTV=0 - USE_REF_ENC=1 - TEST_SUITE="$SHORT_TEST_SUITE" - LEVEL_SCALING=0.3162 Loading @@ -282,6 +286,7 @@ ivas-pytest-mld-enc-dec-lev+10: - .rules-pytest-mld - .test-job-linux before_script: - USE_LTV=0 - USE_REF_ENC=0 - TEST_SUITE="$SHORT_TEST_SUITE" - LEVEL_SCALING=3.162 Loading @@ -292,6 +297,7 @@ ivas-pytest-mld-dec-lev+10: - .rules-pytest-mld - .test-job-linux before_script: - USE_LTV=0 - USE_REF_ENC=1 - TEST_SUITE="$SHORT_TEST_SUITE" - LEVEL_SCALING=3.162 Loading @@ -306,6 +312,7 @@ ivas-pytest-mld-long-enc-dec: - .rules-pytest-mld-long - .test-job-linux before_script: - USE_LTV=1 - USE_REF_ENC=0 - TEST_SUITE="$LONG_TEST_SUITE" - LEVEL_SCALING=1.0 Loading @@ -316,6 +323,7 @@ ivas-pytest-mld-long-dec: - .rules-pytest-mld-long - .test-job-linux before_script: - USE_LTV=1 - USE_REF_ENC=1 - TEST_SUITE="$LONG_TEST_SUITE" - LEVEL_SCALING=1.0 Loading @@ -326,6 +334,7 @@ ivas-pytest-mld-long-enc-dec-lev-10: - .rules-pytest-mld-long - .test-job-linux before_script: - USE_LTV=1 - USE_REF_ENC=0 - TEST_SUITE="$LONG_TEST_SUITE" - LEVEL_SCALING=0.3162 Loading @@ -336,6 +345,7 @@ ivas-pytest-mld-long-dec-lev-10: - .rules-pytest-mld-long - .test-job-linux before_script: - USE_LTV=1 - USE_REF_ENC=1 - TEST_SUITE="$LONG_TEST_SUITE" - LEVEL_SCALING=0.3162 Loading @@ -346,6 +356,7 @@ ivas-pytest-mld-long-enc-dec-lev+10: - .rules-pytest-mld-long - .test-job-linux before_script: - USE_LTV=1 - USE_REF_ENC=0 - TEST_SUITE="$LONG_TEST_SUITE" - LEVEL_SCALING=3.162 Loading @@ -356,6 +367,7 @@ ivas-pytest-mld-long-dec-lev+10: - .rules-pytest-mld-long - .test-job-linux before_script: - USE_LTV=1 - USE_REF_ENC=1 - TEST_SUITE="$LONG_TEST_SUITE" - LEVEL_SCALING=3.162 Loading