Skip to content

Commit

Permalink
Decode byte string before print
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardt committed May 20, 2019
1 parent 9b23845 commit f1f516d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fault/system_verilog_target.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ def run(self, actions):
# present
result = subprocess.run("./simv", cwd=self.directory, shell=True,
capture_output=True)
print(str(result.stdout))
print(result.stdout.decode())
assert not result.returncode, "Running vcs binary failed"
assert "Error" not in str(result.stdout), \
"String \"Error\" found in stdout of vcs run"
Expand Down

0 comments on commit f1f516d

Please sign in to comment.