[Lldb-commits] [lldb] [lldb][test] Support remote run of Shell tests (PR #95986)
Vladislav Dzhidzhoev via lldb-commits
lldb-commits at lists.llvm.org
Thu Aug 1 07:30:12 PDT 2024
================
@@ -4,16 +4,16 @@
target create -l "ls" /bin/ls
target list
-# CHECK: * target #0 (ls): /bin/ls
+# CHECK: * target #0 (ls): [[LS_PATH:.*]]
----------------
dzhidzhoev wrote:
Sorry, I was wrong here.
`target create` command accepts remote path. But `target list` prints full path to host's cached copy of the executable:
```
(lldb) target list
Current targets:
* target #0: C:\Users\vdzhidzhoev\.lldb\module_cache\remote-linux\.cache\16852127-4D24-D03C-BAB1-365C28DC2007-8BF46835\ls ( arch=aarch64-*-linux, platform=remote-linux )
```
So we can't just place 'ls' in the pattern matching line.
https://github.com/llvm/llvm-project/pull/95986
More information about the lldb-commits
mailing list