Author: Muhammad Omair Javaid
Date: 2020-05-11T10:25:04+05:00
New Revision: 20629ca949cddde9f7e41a4b9e8539a970615feb

URL: 
https://github.com/llvm/llvm-project/commit/20629ca949cddde9f7e41a4b9e8539a970615feb
DIFF: 
https://github.com/llvm/llvm-project/commit/20629ca949cddde9f7e41a4b9e8539a970615feb.diff

LOG: [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

Added: 
    

Modified: 
    lldb/test/Shell/SymbolFile/NativePDB/Inputs/break-by-line.lldbinit
    lldb/test/Shell/SymbolFile/NativePDB/break-by-line.cpp
    lldb/test/Shell/SymbolFile/NativePDB/source-list.cpp

Removed: 
    


################################################################################
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 7daa53ba24e0..916ba22bb192 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 1ed4f6e781c1..f68b421147ed 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 b51350ed379b..dc8f18706925 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.
 


        
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to