Commit b6d649fd authored by norvell's avatar norvell
Browse files

Adapt script to use _ref suffix in command lines

parent 57d71e79
Loading
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -47,7 +47,7 @@ if __name__ == '__main__':
                # Adjust file arguments, pass other arguments as they are
                if path.exists(arg):
                    arg = path.relpath(arg).replace('\\','/')
                    arg = re.sub('IVAS_cod(.exe)?', '$CUT_ENC_BIN', arg)
                    arg = re.sub('IVAS_cod_ref(.exe)?', '$CUT_ENC_BIN', arg)
                    arg = re.sub('scripts', TESTV_PATH, arg)
                    arg = re.sub('tests', CUT_PATH, arg)
                args.append(arg)
@@ -75,7 +75,7 @@ if __name__ == '__main__':
                # Adjust file arguments, pass other arguments as they are
                if path.exists(arg):
                    arg = path.relpath(arg).replace('\\','/')
                    arg = re.sub('IVAS_dec(.exe)?', '$CUT_DEC_BIN', arg)
                    arg = re.sub('IVAS_dec_ref(.exe)?', '$CUT_DEC_BIN', arg)
                    arg = re.sub('scripts', TESTV_PATH, arg)
                    arg = re.sub('tests/ref', REF_PATH + r'/ref', arg) # For .fer cases the bitstream is in ref
                    arg = re.sub('tests/split_rendering/renderer_configs', REF_PATH + r'/split_rendering/renderer_configs', arg)
@@ -131,7 +131,7 @@ if __name__ == '__main__':
                # Adjust file arguments, pass other arguments as they are
                if path.exists(arg):
                    arg = path.relpath(arg).replace('\\','/')
                    arg = re.sub('IVAS_rend(.exe)?', '$CUT_REND_BIN', arg)
                    arg = re.sub('IVAS_rend_ref(.exe)?', '$CUT_REND_BIN', arg)
                    arg = re.sub('scripts', TESTV_PATH, arg)
                    arg = re.sub('tests/renderer/data', TESTV_PATH + r'renderer/data/', arg)
                    arg = re.sub('tests', CUT_PATH, arg)
@@ -156,7 +156,7 @@ if __name__ == '__main__':
                # Adjust file arguments, pass other arguments as they are
                if path.exists(arg):
                    arg = path.relpath(arg).replace('\\','/')
                    arg = re.sub('ISAR_post_rend(.exe)?', '$CUT_ISAR_POST_REND_BIN', arg)
                    arg = re.sub('ISAR_post_rend_ref(.exe)?', '$CUT_ISAR_POST_REND_BIN', arg)
                    arg = re.sub('scripts', TESTV_PATH, arg)
                    if re.search("^tests.*bit$",arg):
                        arg = re.sub('tests/split_rendering/cut', REF_PATH + r'/split_rendering/ref', arg)