From 0afdac41ceb9567c2f953092d0e8b6220c15acea Mon Sep 17 00:00:00 2001 From: Vladislav Dzhidzhoev Date: Wed, 13 Nov 2024 18:49:32 +0100 Subject: [PATCH] [lldb][test] Fix inline_sites_live.cpp Shell when run on Windows remotely from Linux (#115722) This test fails on https://lab.llvm.org/staging/#/builders/197/builds/76/steps/18/logs/FAIL__lldb-shell__inline_sites_live_cpp because of a little difference in the lldb output. ``` # .---command stderr------------ # | C:\buildbot\as-builder-10\lldb-x-aarch64\llvm-project\lldb\test\Shell\SymbolFile\NativePDB\inline_sites_live.cpp:25:11: error: CHECK: expected string not found in input # | // CHECK: * thread #1, stop reason = breakpoint 1 # | ^ # | :1:1: note: scanning from here # | (lldb) platform select remote-linux # | ^ # | :28:27: note: possible intended match here # | * thread #1, name = 'inline_sites_li', stop reason = breakpoint 1.3 # | ^ # | ``` --- lldb/test/Shell/SymbolFile/NativePDB/inline_sites_live.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lldb/test/Shell/SymbolFile/NativePDB/inline_sites_live.cpp b/lldb/test/Shell/SymbolFile/NativePDB/inline_sites_live.cpp index df6353e28303a3..549bc881b19bb7 100644 --- a/lldb/test/Shell/SymbolFile/NativePDB/inline_sites_live.cpp +++ b/lldb/test/Shell/SymbolFile/NativePDB/inline_sites_live.cpp @@ -22,11 +22,11 @@ int main(int argc, char** argv) { foo(argc); } -// CHECK: * thread #1, stop reason = breakpoint 1 +// CHECK: * thread #1, {{.*}}stop reason = breakpoint 1 // CHECK-NEXT: frame #0: {{.*}}`main [inlined] bar(param=2) // CHECK: (lldb) expression param // CHECK-NEXT: (int) $0 = 2 -// CHECK: * thread #1, stop reason = breakpoint 2 +// CHECK: * thread #1, {{.*}}stop reason = breakpoint 2 // CHECK-NEXT: frame #0: {{.*}}`main [inlined] foo(param=1) // CHECK: (lldb) expression param // CHECK-NEXT: (int) $1 = 1