Replace CHECK-NEXT with CHECK-DAG. The order isn't relevant we just
authorAdrian Prantl <aprantl@apple.com>
Fri, 7 Feb 2020 23:09:44 +0000 (15:09 -0800)
committerAdrian Prantl <aprantl@apple.com>
Fri, 7 Feb 2020 23:09:44 +0000 (15:09 -0800)
want to make sure that all are present.

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

index 12545d68c4f981b9f9bf08f69bdba13e50bef53e..a125c57428c4e0277f804fed33852d2889c4decf 100644 (file)
 __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