Loading tests/conftest.py +11 −5 Original line number Diff line number Diff line Loading @@ -749,6 +749,9 @@ class DecoderFrontend: cwd = Path(tmp_dir).absolute() else: cwd = Path(run_dir).absolute() eid_command_str = " ".join(eid_command) log_dbg_msg(f"eid-xor command:\n {eid_command_str}") result = run(eid_command, check=True, cwd=cwd) except Exception as e: pytest.fail(f"eid-xor operation failed! - {e}") Loading Loading @@ -778,11 +781,11 @@ class DecoderFrontend: tracefile_path = input_bitstream_path.with_suffix(".netsimtrace") # TODO: need to check if the "1" works with every profile netsim_command = [ netsim_path, netsim_profile, input_bitstream_path, netsim_bitstream_path, tracefile_path, str(netsim_path), str(netsim_profile), str(input_bitstream_path), str(netsim_bitstream_path), str(tracefile_path), "1", ] print(netsim_command) Loading @@ -793,6 +796,9 @@ class DecoderFrontend: else: cwd = Path(run_dir).absolute() run(netsim_command, check=True, cwd=cwd) netsim_command_str = " ".join(netsim_command) log_dbg_msg(f"netsim command:\n {netsim_command_str}") except Exception as e: pytest.fail(f"netsim operation failed! - {e}") Loading Loading
tests/conftest.py +11 −5 Original line number Diff line number Diff line Loading @@ -749,6 +749,9 @@ class DecoderFrontend: cwd = Path(tmp_dir).absolute() else: cwd = Path(run_dir).absolute() eid_command_str = " ".join(eid_command) log_dbg_msg(f"eid-xor command:\n {eid_command_str}") result = run(eid_command, check=True, cwd=cwd) except Exception as e: pytest.fail(f"eid-xor operation failed! - {e}") Loading Loading @@ -778,11 +781,11 @@ class DecoderFrontend: tracefile_path = input_bitstream_path.with_suffix(".netsimtrace") # TODO: need to check if the "1" works with every profile netsim_command = [ netsim_path, netsim_profile, input_bitstream_path, netsim_bitstream_path, tracefile_path, str(netsim_path), str(netsim_profile), str(input_bitstream_path), str(netsim_bitstream_path), str(tracefile_path), "1", ] print(netsim_command) Loading @@ -793,6 +796,9 @@ class DecoderFrontend: else: cwd = Path(run_dir).absolute() run(netsim_command, check=True, cwd=cwd) netsim_command_str = " ".join(netsim_command) log_dbg_msg(f"netsim command:\n {netsim_command_str}") except Exception as e: pytest.fail(f"netsim operation failed! - {e}") Loading