Skip to content

Commit ba7e191

Browse files
committed
[build_exception] Decode build failure messages
This is so that the test harness pretty-prints build error messages in trace mode, instead of dumping a raw python bytes object. llvm-svn: 369987
1 parent 2abca4f commit ba7e191

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/packages/Python/lldbsuite/test_event/build_exception.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ def __str__(self):
1313
@staticmethod
1414
def format_build_error(command, command_output):
1515
return "Error when building test subject.\n\nBuild Command:\n{}\n\nBuild Command Output:\n{}".format(
16-
command, command_output)
16+
command, command_output.decode("utf-8"))

0 commit comments

Comments
 (0)