[Lldb-commits] [lldb] 26ba774 - Simplify testcase to use v instead of p (NFC)
Adrian Prantl via lldb-commits
lldb-commits at lists.llvm.org
Thu Jul 29 15:15:09 PDT 2021
Author: Adrian Prantl
Date: 2021-07-29T15:15:00-07:00
New Revision: 26ba774f6865f0c6bb15dbbe80dc23e1db33d54b
URL: https://github.com/llvm/llvm-project/commit/26ba774f6865f0c6bb15dbbe80dc23e1db33d54b
DIFF: https://github.com/llvm/llvm-project/commit/26ba774f6865f0c6bb15dbbe80dc23e1db33d54b.diff
LOG: Simplify testcase to use v instead of p (NFC)
Added:
Modified:
lldb/test/API/commands/process/attach/TestProcessAttach.py
Removed:
################################################################################
diff --git a/lldb/test/API/commands/process/attach/TestProcessAttach.py b/lldb/test/API/commands/process/attach/TestProcessAttach.py
index c224b9f109b32..b2173f40d4dab 100644
--- a/lldb/test/API/commands/process/attach/TestProcessAttach.py
+++ b/lldb/test/API/commands/process/attach/TestProcessAttach.py
@@ -106,7 +106,7 @@ def test_attach_to_process_by_id_correct_executable_offset(self):
lldbutil.run_break_set_by_file_and_line(
self, "main.cpp", self.line, num_expected_locations=1, loc_exact=False)
self.runCmd("process continue")
- self.expect("p g_val", substrs=["$0 = 12345"])
+ self.expect("v g_val", substrs=["12345"])
def tearDown(self):
# Destroy process before TestBase.tearDown()
More information about the lldb-commits
mailing list