Commit 622b6c60 authored by norvell's avatar norvell
Browse files

Fix tests/test_26444.py

parent 5282994c
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -78,9 +78,14 @@ def test_evs_26444(test_tag):

    if enc_opts:
        enc_opts = enc_opts.replace("./", TEST_DIR + "/")
        subprocess.run(["./IVAS_cod", "-q"] + enc_opts.split()[1:])
        enc_opts = enc_opts.replace("-rf rf_config.cfg", "-rf " + TEST_DIR + "/rf_config.cfg") # Special handling of this arguments since the path is missing
        cmd = ["./IVAS_cod", "-q"] + enc_opts.split()[1:]
        print(" ".join(["Encoder command: "] + cmd))
        subprocess.run(cmd)
    if dec_opts:
        dec_opts = dec_opts.replace("./", TEST_DIR + "/")
        cmd = ["./IVAS_dec", "-q"] + dec_opts.split()[1:]
        print(" ".join(["Decoder command: "] + cmd))
        subprocess.run(["./IVAS_dec", "-q"] + dec_opts.split()[1:])

    diff_opts = diff_opts.replace("./", TEST_DIR + "/")