From dd44231f984330610880278ee56f3499b2c15006 Mon Sep 17 00:00:00 2001 From: Jan Kiene Date: Mon, 10 Feb 2025 13:46:45 +0100 Subject: [PATCH] skip rate switching cases with compare_enc_dmx --- tests/codec_be_on_mr_nonselection/test_param_file.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/tests/codec_be_on_mr_nonselection/test_param_file.py b/tests/codec_be_on_mr_nonselection/test_param_file.py index e760edd470..e4928584cf 100644 --- a/tests/codec_be_on_mr_nonselection/test_param_file.py +++ b/tests/codec_be_on_mr_nonselection/test_param_file.py @@ -60,9 +60,6 @@ from tests.constants import ( MAX_ENC_STATS_DIFF, SCRIPTS_DIR, MAX_ENC_DIFF, - DMX_DIFF, - DMX_MLD, - DMX_SSNR, ) from tests.renderer.utils import check_and_makedir, binauralize_input_and_output @@ -316,8 +313,12 @@ def run_test( bitrate = enc_split.pop() in_sr = sampling_rate - # bitrate can be a filename: remove leading "../" - if bitrate.startswith("../"): + # bitrate can be a filename: change it to an absolute path + if not bitrate.isdigit(): + if compare_enc_dmx: + pytest.skip( + "Rate switching + --compare_enc_dmx currently skipped due to DEBUGGING code limitations with varying number of transport channels" + ) bitrate = Path(bitrate[3:]).absolute() testv_base = testv_file.split("/")[-1] -- GitLab