We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 959dc1b commit 2b1b10cCopy full SHA for 2b1b10c
test/Backtracing/CrashWithThreads.swift
@@ -69,9 +69,11 @@ while (true) {
69
70
// make sure there are no threads before the crashing thread (rdar://164566321)
71
72
-// CHECK-NOT: Thread {{[0-9]+}}:
+// we expect the first thread not to be thread 0, it should be the crashing thread instead
73
+// CHECK-NOT: Thread 0{{( ".*")?}}:
74
-// CHECK: Thread {{[1-9]+}} {{(".*" )?}}crashed:
75
+// we expect a crash on a thread other than 0
76
+// CHECK: Thread {{[1-9][0-9]*}} {{(".*" )?}}crashed:
77
78
// CHECK: 0 0x{{[0-9a-f]+}} reallyCrashMe() + {{[0-9]+}} in CrashWithThreads at {{.*}}/CrashWithThreads
79
// CHECK-NEXT: 1 [ra] 0x{{[0-9a-f]+}} crashMe() + {{[0-9]+}} in CrashWithThreads at {{.*}}/CrashWithThreads
0 commit comments