diff options
author | Raphael Isemann <teemperor@gmail.com> | 2018-07-27 22:20:59 +0000 |
---|---|---|
committer | Raphael Isemann <teemperor@gmail.com> | 2018-07-27 22:20:59 +0000 |
commit | 23d7a9ebbe6fd815af1f7263197df701c784d012 (patch) | |
tree | ed8a6ae69d8b73c259a189fb06812320fcf7e56b /lldb/packages/Python/lldbsuite/test/lldbdwarf.py | |
parent | 05141f1f2d0fcf3aac6412b7193ab7c482c9f952 (diff) | |
download | bcm5719-llvm-23d7a9ebbe6fd815af1f7263197df701c784d012.tar.gz bcm5719-llvm-23d7a9ebbe6fd815af1f7263197df701c784d012.zip |
Fix whitespace in the python test suite.
Summary:
The test suite has often unnecessary trailing whitespace, and sometimes
unnecessary trailing lines or a missing final new line. This patch just strips
trailing whitespace/lines and adds missing newlines at the end.
Subscribers: ki.stfu, JDevlieghere, christof, lldb-commits
Differential Revision: https://reviews.llvm.org/D49943
llvm-svn: 338171
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lldbdwarf.py')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/lldbdwarf.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/lldbdwarf.py b/lldb/packages/Python/lldbsuite/test/lldbdwarf.py index 1b50eb130ab..217f8bc0e2b 100644 --- a/lldb/packages/Python/lldbsuite/test/lldbdwarf.py +++ b/lldb/packages/Python/lldbsuite/test/lldbdwarf.py @@ -191,7 +191,7 @@ class DwarfOpcodeParser(object): break if val == DW_OP_regx: - # Read register number + # Read register number self.assertTrue(len(dwarf_opcode) > (index + 1)) reg_no = int(dwarf_opcode.pop(index + 1), 16) @@ -201,7 +201,7 @@ class DwarfOpcodeParser(object): ["read packet: $p{0:x}#00".format(reg_no), {"direction": "send", "regex": r"^\$([0-9a-fA-F]+)#", "capture": {1: "p_response"}}],True) - + Context = self.expect_gdbremote_sequence() self.assertIsNotNone(Context) p_response = Context.get("p_response") @@ -219,7 +219,7 @@ class DwarfOpcodeParser(object): elif val == DW_OP_lit1: # Push literal 1 dwarf_data.append(1) - + elif val == DW_OP_lit26: # Push literal 26 dwarf_data.append(26) |