From: Muhammad Omair Javaid Date: Mon, 11 May 2020 05:18:50 +0000 (+0500) Subject: [LLDB] Fix broken testsuite due to Xfail decorators X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=20629ca949cddde9f7e41a4b9e8539a970615feb;p=platform%2Fupstream%2Fllvm.git [LLDB] Fix broken testsuite due to Xfail decorators Following test cases need minor adjustment in order to accomodate xfail decorator: lldb/test/Shell/SymbolFile/NativePDB/break-by-line.cpp lldb/test/Shell/SymbolFile/NativePDB/source-list.cpp --- diff --git a/lldb/test/Shell/SymbolFile/NativePDB/Inputs/break-by-line.lldbinit b/lldb/test/Shell/SymbolFile/NativePDB/Inputs/break-by-line.lldbinit index 7daa53b..916ba22 100644 --- a/lldb/test/Shell/SymbolFile/NativePDB/Inputs/break-by-line.lldbinit +++ b/lldb/test/Shell/SymbolFile/NativePDB/Inputs/break-by-line.lldbinit @@ -1,3 +1,3 @@ -break set -f break-by-line.cpp -l 14 +break set -f break-by-line.cpp -l 15 break list quit diff --git a/lldb/test/Shell/SymbolFile/NativePDB/break-by-line.cpp b/lldb/test/Shell/SymbolFile/NativePDB/break-by-line.cpp index 1ed4f6e..f68b421 100644 --- a/lldb/test/Shell/SymbolFile/NativePDB/break-by-line.cpp +++ b/lldb/test/Shell/SymbolFile/NativePDB/break-by-line.cpp @@ -23,5 +23,5 @@ int main(int argc, char **argv) { // CHECK: (lldb) target create "{{.*}}break-by-line.cpp.tmp.exe" // CHECK: Current executable set to '{{.*}}break-by-line.cpp.tmp.exe' -// CHECK: (lldb) break set -f break-by-line.cpp -l 14 -// CHECK: Breakpoint 1: where = break-by-line.cpp.tmp.exe`NS::NamespaceFn + {{[0-9]+}} at break-by-line.cpp:14 +// CHECK: (lldb) break set -f break-by-line.cpp -l 15 +// CHECK: Breakpoint 1: where = break-by-line.cpp.tmp.exe`NS::NamespaceFn + {{[0-9]+}} at break-by-line.cpp:15 diff --git a/lldb/test/Shell/SymbolFile/NativePDB/source-list.cpp b/lldb/test/Shell/SymbolFile/NativePDB/source-list.cpp index b51350e..dc8f187 100644 --- a/lldb/test/Shell/SymbolFile/NativePDB/source-list.cpp +++ b/lldb/test/Shell/SymbolFile/NativePDB/source-list.cpp @@ -8,7 +8,6 @@ // RUN: %p/Inputs/source-list.lldbinit | FileCheck %s - // Some context lines before // the function.