Author: Chris B Date: 2025-03-04T09:09:44-06:00 New Revision: 9ad515603d97615045470fc4bdc72e1865d2986d
URL: https://github.com/llvm/llvm-project/commit/9ad515603d97615045470fc4bdc72e1865d2986d DIFF: https://github.com/llvm/llvm-project/commit/9ad515603d97615045470fc4bdc72e1865d2986d.diff LOG: A more precise matching for the driver test (#129611) Maybe this fixes issues detected after #128894 Added: Modified: clang/test/Driver/hip-gz-options.hip Removed: ################################################################################ diff --git a/clang/test/Driver/hip-gz-options.hip b/clang/test/Driver/hip-gz-options.hip index bdef24e052ffb..36de8e8404020 100644 --- a/clang/test/Driver/hip-gz-options.hip +++ b/clang/test/Driver/hip-gz-options.hip @@ -8,7 +8,7 @@ // RUN: -fgpu-rdc --offload-arch=gfx906 %s -nogpulib -nogpuinc \ // RUN: -ggdb -gz=zlib 2>&1 | FileCheck %s -// CHECK-DAG: {{".*clang.*" .* "--compress-debug-sections=zlib"}} -// CHECK-DAG: {{".*lld.*" .* "--compress-debug-sections=zlib"}} -// CHECK-DAG: {{".*clang.*" .* "--compress-debug-sections=zlib"}} +// CHECK-DAG: {{".*clang(-[0-9]+)?(.exe)?" .* "--compress-debug-sections=zlib"}} +// CHECK-DAG: {{".*lld(.exe)?" .* "--compress-debug-sections=zlib"}} +// CHECK-DAG: {{".*clang(-[0-9]+)?(.exe)?" .* "--compress-debug-sections=zlib"}} // CHECK: "--compress-debug-sections=zlib" _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits