Loading scripts/parse_commands.py +3 −0 Original line number Original line Diff line number Diff line Loading @@ -103,6 +103,9 @@ if __name__ == '__main__': # Filter out networkSimulator_g192 commands from cmds_rend # Filter out networkSimulator_g192 commands from cmds_rend cmds_rend = [cmd for cmd in cmds_rend if not "networkSimulator_g192" in cmd] cmds_rend = [cmd for cmd in cmds_rend if not "networkSimulator_g192" in cmd] # Filter out rtpdump tests from cmds_enc. The rtpdump bitstreams differ between each run. cmds_enc = [cmd for cmd in cmds_enc if not "rtpdump" in cmd] with open(txt_file.replace('.','_enc.'),'w', newline='\n') as outfile: with open(txt_file.replace('.','_enc.'),'w', newline='\n') as outfile: with open('scripts/enc_header.txt','r') as header: with open('scripts/enc_header.txt','r') as header: outfile.write(header.read()) outfile.write(header.read()) Loading Loading
scripts/parse_commands.py +3 −0 Original line number Original line Diff line number Diff line Loading @@ -103,6 +103,9 @@ if __name__ == '__main__': # Filter out networkSimulator_g192 commands from cmds_rend # Filter out networkSimulator_g192 commands from cmds_rend cmds_rend = [cmd for cmd in cmds_rend if not "networkSimulator_g192" in cmd] cmds_rend = [cmd for cmd in cmds_rend if not "networkSimulator_g192" in cmd] # Filter out rtpdump tests from cmds_enc. The rtpdump bitstreams differ between each run. cmds_enc = [cmd for cmd in cmds_enc if not "rtpdump" in cmd] with open(txt_file.replace('.','_enc.'),'w', newline='\n') as outfile: with open(txt_file.replace('.','_enc.'),'w', newline='\n') as outfile: with open('scripts/enc_header.txt','r') as header: with open('scripts/enc_header.txt','r') as header: outfile.write(header.read()) outfile.write(header.read()) Loading