[debuginfo-tests] 248435e - Replace CHECK-NEXT with CHECK-DAG. The order isn't relevant we just

Adrian Prantl via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 7 15:10:21 PST 2020


Author: Adrian Prantl
Date: 2020-02-07T15:09:44-08:00
New Revision: 248435e9c9e62fd95f5b38ae9ba0dfdb051929cb

URL: https://github.com/llvm/llvm-project/commit/248435e9c9e62fd95f5b38ae9ba0dfdb051929cb
DIFF: https://github.com/llvm/llvm-project/commit/248435e9c9e62fd95f5b38ae9ba0dfdb051929cb.diff

LOG: Replace CHECK-NEXT with CHECK-DAG. The order isn't relevant we just
want to make sure that all are present.

Added: 
    

Modified: 
    debuginfo-tests/llgdb-tests/apple-accel.cpp

Removed: 
    


################################################################################
diff  --git a/debuginfo-tests/llgdb-tests/apple-accel.cpp b/debuginfo-tests/llgdb-tests/apple-accel.cpp
index 12545d68c4f9..a125c57428c4 100644
--- a/debuginfo-tests/llgdb-tests/apple-accel.cpp
+++ b/debuginfo-tests/llgdb-tests/apple-accel.cpp
@@ -13,11 +13,11 @@
 __attribute__((section("1,__text_foo"))) void foo() {}
 int main (int argc, char const *argv[]) { return argc; }
 
-// CHECK: __debug_abbrev
-// CHECK-NEXT: __debug_info
-// CHECK-NEXT: __debug_str
-// CHECK-NEXT: __debug_ranges
-// CHECK-NEXT: __apple_names
-// CHECK-NEXT: __apple_objc
-// CHECK-NEXT: __apple_namespac
-// CHECK-NEXT: __apple_types
+// CHECK-DAG: __debug_abbrev
+// CHECK-DAG: __debug_info
+// CHECK-DAG: __debug_str
+// CHECK-DAG: __debug_ranges
+// CHECK-DAG: __apple_names
+// CHECK-DAG: __apple_objc
+// CHECK-DAG: __apple_namespac
+// CHECK-DAG: __apple_types


        


More information about the llvm-commits mailing list