Loading .gitlab-ci.yml +15 −21 Original line number Diff line number Diff line Loading @@ -1221,10 +1221,8 @@ test-be-to-release: ivas-conformance: extends: - .test-job-linux-needs-testv-dir tags: - pytest-html-updated - ivas-windows stage: test timeout: "60 minutes" rules: Loading @@ -1233,29 +1231,28 @@ ivas-conformance: exit_codes: - 123 script: - *print-common-info - *print-common-info-windows # Prepare reference exec, use tests and scripts from reference - source_branch_commit_sha=$(git rev-parse HEAD) - git checkout main # This should be set to a relevant reference - make -j - cp IVAS_cod IVAS_cod_ref - cp IVAS_dec IVAS_dec_ref - cp IVAS_rend IVAS_rend_ref - py .\scripts\strip_split_rendering.py - MSBuild.exe -maxcpucount .\Workspace_msvc\Workspace_msvc.sln /property:Configuration=Debug - cp IVAS_cod.exe IVAS_cod_ref.exe - cp IVAS_dec.exe IVAS_dec_ref.exe - cp IVAS_rend.exe IVAS_rend_ref.exe - git restore . - git checkout $source_branch_commit_sha # Reference creation - non_be_flag=0 - exit_code=0 - python3 tests/create_short_testvectors.py - python3 scripts/prepare_combined_format_inputs.py - python3 -m pytest tests/codec_be_on_mr_nonselection/ -v -n auto --update_ref 1 -m create_ref --html=report1.html --self-contained-html --keep_files || exit_code=$? - python3 -m pytest tests/codec_be_on_mr_nonselection/ -v -n auto --update_ref 1 -m create_ref_part2 --keep_files || exit_code=$? - python3 -m pytest tests/renderer/test_renderer.py --create_ref --keep_files || exit_code=$? - python tests/create_short_testvectors.py - python scripts/prepare_combined_format_inputs.py - python -m pytest tests/codec_be_on_mr_nonselection -v -n auto --update_ref 1 -m create_ref --html=report1.html --self-contained-html --keep_files - python -m pytest tests/codec_be_on_mr_nonselection -v -n auto --update_ref 1 -m create_ref_part2 --keep_files - python -m pytest tests/renderer/test_renderer.py --create_ref --keep_files # Output creation - python3 -m pytest tests/codec_be_on_mr_nonselection tests/renderer/test_renderer.py -v -n auto --keep_files --create_cut --html=report_cmd.html --self-contained-html || exit_code=$? - python3 parse_commands.py report_cmd.html Readme_IVAS.txt - python -m pytest tests/codec_be_on_mr_nonselection tests/renderer/test_renderer.py -v -n auto --keep_files --create_cut --html=report_cmd.html --self-contained-html - python parse_commands.py report_cmd.html Readme_IVAS.txt # Copy input data and output ref data Loading @@ -1278,12 +1275,9 @@ ivas-conformance: # Test run generated scripts in testvec - cd testvec - exit_code=0 - python3 -m pytest conformance-test/test_26252.py --junit-xml=report-junit.xml --html=report.html --self-contained-html || exit_code=$? - zero_errors=$(cat report-junit.xml | grep -c 'errors="0"') || true - python -m pytest conformance-test/test_26252.py --junit-xml=report-junit.xml --html=report.html --self-contained-html - mv report.html .. - mv report-junit.xml .. - *merge-request-comparison-check artifacts: name: "ivas-conformance-$CI_COMMIT_SHORT_SHA" Loading Loading
.gitlab-ci.yml +15 −21 Original line number Diff line number Diff line Loading @@ -1221,10 +1221,8 @@ test-be-to-release: ivas-conformance: extends: - .test-job-linux-needs-testv-dir tags: - pytest-html-updated - ivas-windows stage: test timeout: "60 minutes" rules: Loading @@ -1233,29 +1231,28 @@ ivas-conformance: exit_codes: - 123 script: - *print-common-info - *print-common-info-windows # Prepare reference exec, use tests and scripts from reference - source_branch_commit_sha=$(git rev-parse HEAD) - git checkout main # This should be set to a relevant reference - make -j - cp IVAS_cod IVAS_cod_ref - cp IVAS_dec IVAS_dec_ref - cp IVAS_rend IVAS_rend_ref - py .\scripts\strip_split_rendering.py - MSBuild.exe -maxcpucount .\Workspace_msvc\Workspace_msvc.sln /property:Configuration=Debug - cp IVAS_cod.exe IVAS_cod_ref.exe - cp IVAS_dec.exe IVAS_dec_ref.exe - cp IVAS_rend.exe IVAS_rend_ref.exe - git restore . - git checkout $source_branch_commit_sha # Reference creation - non_be_flag=0 - exit_code=0 - python3 tests/create_short_testvectors.py - python3 scripts/prepare_combined_format_inputs.py - python3 -m pytest tests/codec_be_on_mr_nonselection/ -v -n auto --update_ref 1 -m create_ref --html=report1.html --self-contained-html --keep_files || exit_code=$? - python3 -m pytest tests/codec_be_on_mr_nonselection/ -v -n auto --update_ref 1 -m create_ref_part2 --keep_files || exit_code=$? - python3 -m pytest tests/renderer/test_renderer.py --create_ref --keep_files || exit_code=$? - python tests/create_short_testvectors.py - python scripts/prepare_combined_format_inputs.py - python -m pytest tests/codec_be_on_mr_nonselection -v -n auto --update_ref 1 -m create_ref --html=report1.html --self-contained-html --keep_files - python -m pytest tests/codec_be_on_mr_nonselection -v -n auto --update_ref 1 -m create_ref_part2 --keep_files - python -m pytest tests/renderer/test_renderer.py --create_ref --keep_files # Output creation - python3 -m pytest tests/codec_be_on_mr_nonselection tests/renderer/test_renderer.py -v -n auto --keep_files --create_cut --html=report_cmd.html --self-contained-html || exit_code=$? - python3 parse_commands.py report_cmd.html Readme_IVAS.txt - python -m pytest tests/codec_be_on_mr_nonselection tests/renderer/test_renderer.py -v -n auto --keep_files --create_cut --html=report_cmd.html --self-contained-html - python parse_commands.py report_cmd.html Readme_IVAS.txt # Copy input data and output ref data Loading @@ -1278,12 +1275,9 @@ ivas-conformance: # Test run generated scripts in testvec - cd testvec - exit_code=0 - python3 -m pytest conformance-test/test_26252.py --junit-xml=report-junit.xml --html=report.html --self-contained-html || exit_code=$? - zero_errors=$(cat report-junit.xml | grep -c 'errors="0"') || true - python -m pytest conformance-test/test_26252.py --junit-xml=report-junit.xml --html=report.html --self-contained-html - mv report.html .. - mv report-junit.xml .. - *merge-request-comparison-check artifacts: name: "ivas-conformance-$CI_COMMIT_SHORT_SHA" Loading