Commit 4dc56507 authored by vaclav's avatar vaclav
Browse files

Merge remote-tracking branch 'remotes/origin/main' into...

Merge remote-tracking branch 'remotes/origin/main' into 1333-update-readme-combined-formats-in-external-renderer
parents 2813c5f2 da1c4bf5
Loading
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -104,8 +104,9 @@ TESTCASES_MAIN_PC = [
    "Multi-channel 5_1 bitrate switching from 13.2 kbps to 512 kbps, 48kHz in, 16kHz out, BINAURAL_ROOM_REVERB out",
    "OSBA 2OA 2ISM bitrate switching, 32kHz in, 48kHz out, BINAURAL_ROOM_REVERB out, JBM Prof 5",
]


TESTCASES_MAIN_PC_REENABLE = [
    "4 ISM with extended metadata at 128 kbps, 48 kHz in, 48 kHz out, BINAURAL_ROOM_REVERB out, rendconf dir w id",
]
def remove_testcases(cfg: Path, testcases: list):
    """
    Go through file line by line and copy all testcases except the given ones
@@ -136,7 +137,11 @@ if __name__ == "__main__":

    testcases = TESTCASES_MAIN
    if args.use_main_pc_set:
        # Add further unsupported test cases
        testcases.extend(TESTCASES_MAIN_PC)
        # Re-enable test cases that are now supported
        for case in TESTCASES_MAIN_PC_REENABLE:
            testcases.remove(case)

    for f in args.cfg_files:
        remove_testcases(f, testcases)