[clang] 2df9fd7 - Fix diagnostics-dsym.test on mac-arm64 (#99399)

via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 19 00:03:16 PDT 2024


Author: Haowei
Date: 2024-07-19T00:03:12-07:00
New Revision: 2df9fd7edb73c1c2b27bda433ae0795bc8076dd3

URL: https://github.com/llvm/llvm-project/commit/2df9fd7edb73c1c2b27bda433ae0795bc8076dd3
DIFF: https://github.com/llvm/llvm-project/commit/2df9fd7edb73c1c2b27bda433ae0795bc8076dd3.diff

LOG: Fix diagnostics-dsym.test on mac-arm64 (#99399)

The check ordering of diagnostics-dsym.test is wrong and it causes
test failure when running on mac-arm64 machine. This patch fixes it.

Added: 
    

Modified: 
    clang/test/InstallAPI/diagnostics-dsym.test

Removed: 
    


################################################################################
diff  --git a/clang/test/InstallAPI/diagnostics-dsym.test b/clang/test/InstallAPI/diagnostics-dsym.test
index 42fa67a1f9b1e..b8433653c3f76 100644
--- a/clang/test/InstallAPI/diagnostics-dsym.test
+++ b/clang/test/InstallAPI/diagnostics-dsym.test
@@ -19,8 +19,8 @@
 ; RUN: --verify-mode=Pedantic 2>&1 | FileCheck %s
 
 ; CHECK: violations found for arm64 
-; CHECK: foo.c:5:0: error: no declaration found for exported symbol 'bar' in dynamic library
-; CHECK: foo.c:1:0: error: no declaration found for exported symbol 'foo' in dynamic library
+; CHECK-DAG: foo.c:5:0: error: no declaration found for exported symbol 'bar' in dynamic library
+; CHECK-DAG: foo.c:1:0: error: no declaration found for exported symbol 'foo' in dynamic library
 
 ;--- foo.c
 int foo(void) {


        


More information about the cfe-commits mailing list