[Lldb-commits] [PATCH] D141539: [lldb][test] Replace use of p with expression (NFC)
Adrian Prantl via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed Jan 11 14:22:54 PST 2023
aprantl accepted this revision.
aprantl added a comment.
This revision is now accepted and ready to land.
I think it makes sense to have one test that tests the `p` command alias and its parameter handling and have all other tests be explicit about whether they test the expression evaluator or the command alias. As such, this is a good canonicalization.
================
Comment at: lldb/test/API/python_api/file_handle/TestFileHandle.py:138
self.dbg.SetOutputFileHandle(f, False)
- self.handleCmd('p/x 3735928559', collect_result=False, check=False)
+ self.handleCmd('expression/x 3735928559', collect_result=False, check=False)
with open(self.out_filename, 'r') as f:
----------------
not your code, but does the `/x` serve any purpose here?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D141539/new/
https://reviews.llvm.org/D141539
More information about the lldb-commits
mailing list