Loading .gitlab-ci.yml +16 −9 Original line number Diff line number Diff line Loading @@ -1227,6 +1227,7 @@ ivas-conformance: - sed -i '849,851d' scripts/config/self_test.prm - sed -i '805,807d' scripts/config/self_test.prm - sed -i '684,686d' scripts/config/self_test.prm - sed -i '505,508d' scripts/config/self_test.prm - sed -i '420,422d' scripts/config/self_test.prm - sed -i '377,383d' scripts/config/self_test.prm - sed -i '321,329d' scripts/config/self_test.prm Loading Loading @@ -1259,16 +1260,22 @@ ivas-conformance: # Copy input data and output ref data - cp -r scripts/testv . - cp -r scripts/ls_layouts . - cp -r scripts/switchPaths . - cp -r scripts/trajectories . - cp -r tests/ref testv/ref - mkdir testv/renderer - cp -r tests/renderer/data testv/renderer/data - cp -r tests/renderer/cut testv/renderer/ref # Test run generated scripts - mkdir testvec - cp -r scripts/testv testvec - cp -r scripts/ls_layouts testvec - cp -r scripts/switchPaths testvec - cp -r scripts/trajectories testvec - cp -r tests/ref testvec/testv/ref - mkdir testvec/testv/renderer - mkdir testvec/bin - cp -r tests/renderer/data testvec/testv/renderer/data - cp -r tests/renderer/cut testvec/testv/renderer/ref - cp tests/test_26252.py testvec - cp Readme_IVAS_dec.txt Readme_IVAS_enc.txt Readme_IVAS_rend.txt testvec - cp IVAS_cod IVAS_dec IVAS_rend testvec/bin # Test run generated scripts in testvec - cd testvec - exit_code=0 - python3 -m pytest tests/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 Loading tests/test_26252.py +3 −3 Original line number Diff line number Diff line Loading @@ -104,13 +104,13 @@ def test_26252(test_tag): if enc_opts: enc_opts = replace_paths(enc_opts, testv_path, ref_path, cut_path) subprocess.run(["./IVAS_cod"] + enc_opts.split()[1:], check = True) subprocess.run(["./bin/IVAS_cod"] + enc_opts.split()[1:], check = True) if dec_opts: dec_opts = replace_paths(dec_opts, testv_path, ref_path, cut_path) subprocess.run(["./IVAS_dec"] + dec_opts.split()[1:], check = True) subprocess.run(["./bin/IVAS_dec"] + dec_opts.split()[1:], check = True) if rend_opts: rend_opts = replace_paths(rend_opts, testv_path, ref_path, cut_path) subprocess.run(["./IVAS_rend"] + rend_opts.split()[1:], check = True) subprocess.run(["./bin/IVAS_rend"] + rend_opts.split()[1:], check = True) diff_opts = replace_paths(diff_opts, testv_path, ref_path, cut_path) if ';' in diff_opts: Loading Loading
.gitlab-ci.yml +16 −9 Original line number Diff line number Diff line Loading @@ -1227,6 +1227,7 @@ ivas-conformance: - sed -i '849,851d' scripts/config/self_test.prm - sed -i '805,807d' scripts/config/self_test.prm - sed -i '684,686d' scripts/config/self_test.prm - sed -i '505,508d' scripts/config/self_test.prm - sed -i '420,422d' scripts/config/self_test.prm - sed -i '377,383d' scripts/config/self_test.prm - sed -i '321,329d' scripts/config/self_test.prm Loading Loading @@ -1259,16 +1260,22 @@ ivas-conformance: # Copy input data and output ref data - cp -r scripts/testv . - cp -r scripts/ls_layouts . - cp -r scripts/switchPaths . - cp -r scripts/trajectories . - cp -r tests/ref testv/ref - mkdir testv/renderer - cp -r tests/renderer/data testv/renderer/data - cp -r tests/renderer/cut testv/renderer/ref # Test run generated scripts - mkdir testvec - cp -r scripts/testv testvec - cp -r scripts/ls_layouts testvec - cp -r scripts/switchPaths testvec - cp -r scripts/trajectories testvec - cp -r tests/ref testvec/testv/ref - mkdir testvec/testv/renderer - mkdir testvec/bin - cp -r tests/renderer/data testvec/testv/renderer/data - cp -r tests/renderer/cut testvec/testv/renderer/ref - cp tests/test_26252.py testvec - cp Readme_IVAS_dec.txt Readme_IVAS_enc.txt Readme_IVAS_rend.txt testvec - cp IVAS_cod IVAS_dec IVAS_rend testvec/bin # Test run generated scripts in testvec - cd testvec - exit_code=0 - python3 -m pytest tests/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 Loading
tests/test_26252.py +3 −3 Original line number Diff line number Diff line Loading @@ -104,13 +104,13 @@ def test_26252(test_tag): if enc_opts: enc_opts = replace_paths(enc_opts, testv_path, ref_path, cut_path) subprocess.run(["./IVAS_cod"] + enc_opts.split()[1:], check = True) subprocess.run(["./bin/IVAS_cod"] + enc_opts.split()[1:], check = True) if dec_opts: dec_opts = replace_paths(dec_opts, testv_path, ref_path, cut_path) subprocess.run(["./IVAS_dec"] + dec_opts.split()[1:], check = True) subprocess.run(["./bin/IVAS_dec"] + dec_opts.split()[1:], check = True) if rend_opts: rend_opts = replace_paths(rend_opts, testv_path, ref_path, cut_path) subprocess.run(["./IVAS_rend"] + rend_opts.split()[1:], check = True) subprocess.run(["./bin/IVAS_rend"] + rend_opts.split()[1:], check = True) diff_opts = replace_paths(diff_opts, testv_path, ref_path, cut_path) if ';' in diff_opts: Loading