[Lldb-commits] [lldb] 6eb40bf - [test] Fix a test that wasn't running

Jordan Rupprecht via lldb-commits lldb-commits at lists.llvm.org
Wed Oct 12 20:43:56 PDT 2022


Author: Jordan Rupprecht
Date: 2022-10-12T20:43:46-07:00
New Revision: 6eb40bf51b768672218539935f60ce55ae6ad750

URL: https://github.com/llvm/llvm-project/commit/6eb40bf51b768672218539935f60ce55ae6ad750
DIFF: https://github.com/llvm/llvm-project/commit/6eb40bf51b768672218539935f60ce55ae6ad750.diff

LOG: [test] Fix a test that wasn't running

The functionality is fine (we don't run the breakpoint command twice), but this test forgot to call `FileCheck` and isn't checking the same value isn't there twice..

Added: 
    

Modified: 
    lldb/test/Shell/Breakpoint/breakpoint-command.test

Removed: 
    


################################################################################
diff  --git a/lldb/test/Shell/Breakpoint/breakpoint-command.test b/lldb/test/Shell/Breakpoint/breakpoint-command.test
index 6104713cde5ae..1236c557a0232 100644
--- a/lldb/test/Shell/Breakpoint/breakpoint-command.test
+++ b/lldb/test/Shell/Breakpoint/breakpoint-command.test
@@ -1,5 +1,5 @@
 # RUN: %build %p/Inputs/dummy-target.c -o %t.out
-# RUN: %lldb %t.out -o 'b main' -o 'break command add 1 -o "script print(95000 + 126)"' -o 'r'
+# RUN: %lldb %t.out -o 'b main' -o 'break command add 1 -o "script print(95000 + 126)"' -o 'r' | FileCheck %s
 
-# CHECK: 95125
+# CHECK: 95126
 # CHECK-NOT: 95126


        


More information about the lldb-commits mailing list