Commit d9695bf5 authored by Jan Kiene's avatar Jan Kiene
Browse files

Merge branch 'ci/fix-mode-selection-in-sanitizer-tests' into 'main'

Fix mode selection in sanitizer tests

See merge request !243
parents 4ce4c288 0e9c2b59
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -42,12 +42,12 @@ def get_modes(in_format: str) -> list:
    list_process = subprocess.run(cmd, capture_output=True)

    output = list_process.stdout.decode("utf8")
    mode_list = output.splitlines()

    # correction for multichannel modes to avoid selecting some mono modes...
    if in_format in MC_MODES:
        in_format = "MC_" + in_format + "_b"

    mode_list = [m for m in output.splitlines() if in_format in m]
        mode_list = [m for m in mode_list if in_format in m]

    return mode_list