Loading parse_commands.py +2 −0 Original line number Diff line number Diff line Loading @@ -44,6 +44,7 @@ if __name__ == '__main__': cmd = cmd.replace(root_folder + r'/IVAS_cod', '$CUT_ENC_BIN') cmd = cmd.replace(r'\\', '/') cmd = cmd.replace(root_folder + r'/scripts/', TESTV_PATH) cmd = cmd.replace('scripts/', TESTV_PATH) # To catch relative paths cmd = cmd.replace(root_folder + r'/tests/', CUT_PATH ) if not "pca" in cmd: Loading @@ -68,6 +69,7 @@ if __name__ == '__main__': cmd = cmd.replace(root_folder + r'/tests/dut', REF_PATH + r'ref', inputs) cmd = cmd.replace(root_folder + r'/tests/', CUT_PATH) cmd = cmd.replace(root_folder + r'/scripts/', TESTV_PATH) cmd = cmd.replace('scripts/', TESTV_PATH) # To catch relative paths if not "pca" in cmd and not "stvFOA32c4chn_0.004.wav" in cmd and not "stvFOA32c4chn_0.004.wav" in cmd: outfile.write(cmd+'\n') Loading Loading
parse_commands.py +2 −0 Original line number Diff line number Diff line Loading @@ -44,6 +44,7 @@ if __name__ == '__main__': cmd = cmd.replace(root_folder + r'/IVAS_cod', '$CUT_ENC_BIN') cmd = cmd.replace(r'\\', '/') cmd = cmd.replace(root_folder + r'/scripts/', TESTV_PATH) cmd = cmd.replace('scripts/', TESTV_PATH) # To catch relative paths cmd = cmd.replace(root_folder + r'/tests/', CUT_PATH ) if not "pca" in cmd: Loading @@ -68,6 +69,7 @@ if __name__ == '__main__': cmd = cmd.replace(root_folder + r'/tests/dut', REF_PATH + r'ref', inputs) cmd = cmd.replace(root_folder + r'/tests/', CUT_PATH) cmd = cmd.replace(root_folder + r'/scripts/', TESTV_PATH) cmd = cmd.replace('scripts/', TESTV_PATH) # To catch relative paths if not "pca" in cmd and not "stvFOA32c4chn_0.004.wav" in cmd and not "stvFOA32c4chn_0.004.wav" in cmd: outfile.write(cmd+'\n') Loading