Loading tests/codec_be_on_mr_nonselection/test_param_file.py +4 −0 Original line number Diff line number Diff line Loading @@ -496,14 +496,18 @@ def simulate( ): # call network simulator on REF encoder output cmd_opts[1] = f"{ref_out_dir}/{netsim_infile}" cmd_opts[2] = f"{ref_out_dir}/{netsim_outfile}" # ref_out_file elif update_ref in [0, 2]: # call network simulator on DUT encoder output cmd_opts[1] = f"{dut_out_dir}/{netsim_infile}" cmd_opts[2] = f"{dut_out_dir}/{netsim_outfile}" # dut_out_file if update_ref == 1 or (update_ref == 2 and not os.path.exists(ref_out_file)): cmd_opts[3] = f"{ref_out_dir}/{netsim_tracefile}" cmd_opts[2] = f"{ref_out_dir}/{netsim_outfile}" # ref_out_file elif update_ref in [0, 2]: cmd_opts[3] = f"{dut_out_dir}/{netsim_tracefile}" cmd_opts[2] = f"{dut_out_dir}/{netsim_outfile}" # dut_out_file run(netsim + cmd_opts, check=False) Loading Loading
tests/codec_be_on_mr_nonselection/test_param_file.py +4 −0 Original line number Diff line number Diff line Loading @@ -496,14 +496,18 @@ def simulate( ): # call network simulator on REF encoder output cmd_opts[1] = f"{ref_out_dir}/{netsim_infile}" cmd_opts[2] = f"{ref_out_dir}/{netsim_outfile}" # ref_out_file elif update_ref in [0, 2]: # call network simulator on DUT encoder output cmd_opts[1] = f"{dut_out_dir}/{netsim_infile}" cmd_opts[2] = f"{dut_out_dir}/{netsim_outfile}" # dut_out_file if update_ref == 1 or (update_ref == 2 and not os.path.exists(ref_out_file)): cmd_opts[3] = f"{ref_out_dir}/{netsim_tracefile}" cmd_opts[2] = f"{ref_out_dir}/{netsim_outfile}" # ref_out_file elif update_ref in [0, 2]: cmd_opts[3] = f"{dut_out_dir}/{netsim_tracefile}" cmd_opts[2] = f"{dut_out_dir}/{netsim_outfile}" # dut_out_file run(netsim + cmd_opts, check=False) Loading