diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2019-08-20 18:01:57 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2019-08-20 18:01:57 +0000 |
| commit | 88c643b6fec27eec436c8d138fee6346e92337d6 (patch) | |
| tree | 82cd13b2f3cde1c9e5f79689ba4e6ba67694843f /packages/Python/lldbsuite/test_event/build_exception.py | |
| parent | 94994d372d014ce4c8758b9605d63fae651bd8aa (diff) | |
Notes
Diffstat (limited to 'packages/Python/lldbsuite/test_event/build_exception.py')
| -rw-r--r-- | packages/Python/lldbsuite/test_event/build_exception.py | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/packages/Python/lldbsuite/test_event/build_exception.py b/packages/Python/lldbsuite/test_event/build_exception.py deleted file mode 100644 index 5b00b92d4738..000000000000 --- a/packages/Python/lldbsuite/test_event/build_exception.py +++ /dev/null @@ -1,16 +0,0 @@ -class BuildError(Exception): - - def __init__(self, called_process_error): - super(BuildError, self).__init__("Error when building test subject") - self.command = called_process_error.lldb_extensions.get( - "command", "<command unavailable>") - self.build_error = called_process_error.lldb_extensions.get( - "stderr_content", "<error output unavailable>") - - def __str__(self): - return self.format_build_error(self.command, self.build_error) - - @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) |
