Skip to content

Commit 0afdac4

Browse files
authored
[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 # | ^ # | <stdin>:1:1: note: scanning from here # | (lldb) platform select remote-linux # | ^ # | <stdin>:28:27: note: possible intended match here # | * thread #1, name = 'inline_sites_li', stop reason = breakpoint 1.3 # | ^ # | ```
1 parent bf51a9e commit 0afdac4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lldb/test/Shell/SymbolFile/NativePDB/inline_sites_live.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ int main(int argc, char** argv) {
2222
foo(argc);
2323
}
2424

25-
// CHECK: * thread #1, stop reason = breakpoint 1
25+
// CHECK: * thread #1, {{.*}}stop reason = breakpoint 1
2626
// CHECK-NEXT: frame #0: {{.*}}`main [inlined] bar(param=2)
2727
// CHECK: (lldb) expression param
2828
// CHECK-NEXT: (int) $0 = 2
29-
// CHECK: * thread #1, stop reason = breakpoint 2
29+
// CHECK: * thread #1, {{.*}}stop reason = breakpoint 2
3030
// CHECK-NEXT: frame #0: {{.*}}`main [inlined] foo(param=1)
3131
// CHECK: (lldb) expression param
3232
// CHECK-NEXT: (int) $1 = 1

0 commit comments

Comments
 (0)