Commit 1a41bfdb authored by norvell's avatar norvell
Browse files

Catch parsing of relative paths

parent 91d79a5b
Loading
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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:
@@ -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')