From 9593a853ed43ac09b176e217c0412e3ab9a7ee1e Mon Sep 17 00:00:00 2001 From: Erik Norvell Date: Mon, 28 Oct 2024 08:10:01 +0100 Subject: [PATCH] Fix for test_26444.py when getting objective measures --- scripts/parse_xml_report.py | 2 +- tests/test_26444.py | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/parse_xml_report.py b/scripts/parse_xml_report.py index 902b31f0ac..d1c5f30e47 100644 --- a/scripts/parse_xml_report.py +++ b/scripts/parse_xml_report.py @@ -44,7 +44,7 @@ IVAS_CATEGORIES = { EVS_CATEGORIES = { "Normal operation": r".*", "DTX": r"DTX", - "PLC": r"b10|f06", + "PLC": r"b10|f06|EPF", "Bitrate switching": r"sw", "JBM": r"JBM", } diff --git a/tests/test_26444.py b/tests/test_26444.py index 08d0ff77c5..2372f0d837 100644 --- a/tests/test_26444.py +++ b/tests/test_26444.py @@ -144,8 +144,8 @@ def test_evs_26444( if enc_opts: for file in [ref, test]: output_config = "" # Empty for EVS operation - in_file = file - out_file = file + ".wav" + in_file = os.path.abspath(file) + out_file = os.path.abspath(file + ".wav") add_option_list = [] ref_decoder_frontend.run( output_config, @@ -155,8 +155,8 @@ def test_evs_26444( add_option_list=add_option_list, ) fs = int(sampling_rate) * 1000 - reffile = ref + ".wav" - testfile = test + ".wav" + reffile = os.path.abspath(ref + ".wav") + testfile = os.path.abspath(test + ".wav") else: fs = int(re.search(r"(\d+)kHz", ref).group(1)) * 1000 # pyaudio3dtools.audiofile.readfile only handles .wav, .pcm and .raw suffixes. -- GitLab