Skip to content

Commit 15ac1fc

Browse files
committed
Fix diagnostics-dsym.test on mac-arm64
The output ordering of diagnostics-dsym.test is non-deterministic, which cases test failures on mac-arm64 when using some toolchains that are not shipped from the xcode. This patch change the 'CHECK' to 'CHECK-DAG' to mitigate this issue.
1 parent 7647174 commit 15ac1fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/test/InstallAPI/diagnostics-dsym.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
; RUN: --verify-mode=Pedantic 2>&1 | FileCheck %s
2020

2121
; CHECK: violations found for arm64
22-
; CHECK: foo.c:5:0: error: no declaration found for exported symbol 'bar' in dynamic library
23-
; CHECK: foo.c:1:0: error: no declaration found for exported symbol 'foo' in dynamic library
22+
; CHECK-DAG: foo.c:5:0: error: no declaration found for exported symbol 'bar' in dynamic library
23+
; CHECK-DAG: foo.c:1:0: error: no declaration found for exported symbol 'foo' in dynamic library
2424

2525
;--- foo.c
2626
int foo(void) {

0 commit comments

Comments
 (0)