forked from OSchip/llvm-project
[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
This commit is contained in:
parent
2abca4f06c
commit
ba7e191e43
|
@ -13,4 +13,4 @@ class BuildError(Exception):
|
|||
@staticmethod
|
||||
def format_build_error(command, command_output):
|
||||
return "Error when building test subject.\n\nBuild Command:\n{}\n\nBuild Command Output:\n{}".format(
|
||||
command, command_output)
|
||||
command, command_output.decode("utf-8"))
|
||||
|
|
Loading…
Reference in New Issue