Loading .gitlab-ci.yml +1 −1 Original line number Diff line number Diff line Loading @@ -1666,7 +1666,7 @@ check-clipping: - make -j - tests/scale_pcm.py ./scripts/testv/ 3.162 # +10 dB level - python3 -m pytest $TESTS_DIR_CODEC_BE_ON_MR -v --update_ref 1 --html=report.html --self-contained-html --junit-xml=report-junit.xml --ref_encoder_path ./IVAS_cod --ref_decoder_path ./IVAS_dec --dut_encoder_path ./IVAS_cod --dut_decoder_path ./IVAS_dec - python3 scripts/parse_xml_report.py report-junit.xml report.csv - python3 scripts/parse_xml_report.py report-junit.xml report.csv --clipping artifacts: name: "check-clipping--sha-$CI_COMMIT_SHORT_SHA--results" when: always Loading scripts/parse_xml_report.py +8 −1 Original line number Diff line number Diff line Loading @@ -10,7 +10,7 @@ from xml.etree import ElementTree Parse a junit report and create a summary report. """ PROPERTIES = ["MLD", "MAXIMUM ABS DIFF", "MIN_SSNR", "MIN_ODG","ENC_CORE_CLIPPING"] PROPERTIES = ["MLD", "MAXIMUM ABS DIFF", "MIN_SSNR", "MIN_ODG"] IVAS_FORMATS = { "Stereo": r"stereo", Loading Loading @@ -64,6 +64,11 @@ if __name__ == "__main__": action="store_true", help="Parse using EVS 26.444 formats", ) parser.add_argument( "--clipping", action="store_true", help="Extract clipping information. Available if encoder has been run with DEBUGGING active.", ) args = parser.parse_args() xml_report = args.xml_report csv_file = args.csv_file Loading @@ -73,6 +78,8 @@ if __name__ == "__main__": else: FORMATS = IVAS_FORMATS CATEGORIES = IVAS_CATEGORIES if args.clipping: PROPERTIES += ["ENC_CORE_CLIPPING"] tree = ElementTree.parse(xml_report) testsuite = tree.find(".//testsuite") Loading Loading
.gitlab-ci.yml +1 −1 Original line number Diff line number Diff line Loading @@ -1666,7 +1666,7 @@ check-clipping: - make -j - tests/scale_pcm.py ./scripts/testv/ 3.162 # +10 dB level - python3 -m pytest $TESTS_DIR_CODEC_BE_ON_MR -v --update_ref 1 --html=report.html --self-contained-html --junit-xml=report-junit.xml --ref_encoder_path ./IVAS_cod --ref_decoder_path ./IVAS_dec --dut_encoder_path ./IVAS_cod --dut_decoder_path ./IVAS_dec - python3 scripts/parse_xml_report.py report-junit.xml report.csv - python3 scripts/parse_xml_report.py report-junit.xml report.csv --clipping artifacts: name: "check-clipping--sha-$CI_COMMIT_SHORT_SHA--results" when: always Loading
scripts/parse_xml_report.py +8 −1 Original line number Diff line number Diff line Loading @@ -10,7 +10,7 @@ from xml.etree import ElementTree Parse a junit report and create a summary report. """ PROPERTIES = ["MLD", "MAXIMUM ABS DIFF", "MIN_SSNR", "MIN_ODG","ENC_CORE_CLIPPING"] PROPERTIES = ["MLD", "MAXIMUM ABS DIFF", "MIN_SSNR", "MIN_ODG"] IVAS_FORMATS = { "Stereo": r"stereo", Loading Loading @@ -64,6 +64,11 @@ if __name__ == "__main__": action="store_true", help="Parse using EVS 26.444 formats", ) parser.add_argument( "--clipping", action="store_true", help="Extract clipping information. Available if encoder has been run with DEBUGGING active.", ) args = parser.parse_args() xml_report = args.xml_report csv_file = args.csv_file Loading @@ -73,6 +78,8 @@ if __name__ == "__main__": else: FORMATS = IVAS_FORMATS CATEGORIES = IVAS_CATEGORIES if args.clipping: PROPERTIES += ["ENC_CORE_CLIPPING"] tree = ElementTree.parse(xml_report) testsuite = tree.find(".//testsuite") Loading