[debuginfo-tests] r201806 - Relax testcases. LLDB starts counting at $0.

Adrian Prantl aprantl at apple.com
Thu Feb 20 11:51:07 PST 2014


Author: adrian
Date: Thu Feb 20 13:51:07 2014
New Revision: 201806

URL: http://llvm.org/viewvc/llvm-project?rev=201806&view=rev
Log:
Relax testcases. LLDB starts counting at $0.

Modified:
    debuginfo-tests/trunk/block_var.m
    debuginfo-tests/trunk/blocks.m

Modified: debuginfo-tests/trunk/block_var.m
URL: http://llvm.org/viewvc/llvm-project/debuginfo-tests/trunk/block_var.m?rev=201806&r1=201805&r2=201806&view=diff
==============================================================================
--- debuginfo-tests/trunk/block_var.m (original)
+++ debuginfo-tests/trunk/block_var.m Thu Feb 20 13:51:07 2014
@@ -7,7 +7,7 @@
 // DEBUGGER: break 24
 // DEBUGGER: r
 // DEBUGGER: p result
-// CHECK: $1 = 42
+// CHECK: ${{[0-9]}} = 42
 
 void doBlock(void (^block)(void))
 {

Modified: debuginfo-tests/trunk/blocks.m
URL: http://llvm.org/viewvc/llvm-project/debuginfo-tests/trunk/blocks.m?rev=201806&r1=201805&r2=201806&view=diff
==============================================================================
--- debuginfo-tests/trunk/blocks.m (original)
+++ debuginfo-tests/trunk/blocks.m Thu Feb 20 13:51:07 2014
@@ -8,11 +8,11 @@
 // DEBUGGER: break 31
 // DEBUGGER: r
 // DEBUGGER: p m2
+// CHECK: ${{[0-9]}} = 1
 // DEBUGGER: p dbTransaction
+// CHECK: ${{[0-9]}} = 0
 // DEBUGGER: p master
-// CHECK: $1 = 1
-// CHECK: $2 = 0
-// CHECK: $3 = 0
+// CHECK: ${{[0-9]}} = 0
 
 #include <Cocoa/Cocoa.h>
 





More information about the llvm-commits mailing list