From 3bc3983f229f9277d5bea3692b691f72ab8740dd Mon Sep 17 00:00:00 2001 From: Nemanja Ivanovic Date: Tue, 15 Sep 2020 12:33:31 -0500 Subject: [PATCH] Fix bot failure after ccb4124a4172 The test case has a check line for the option on a line that includes the string lld surrounded by any characters. This causes failures when said string is in the build path. What the test case presumably means to test is the actual invocation of the LLD linker (i.e. a linker that has that string as a suffix). This patch simply removes the erroneous wildcard after the string. --- clang/test/Driver/hip-gz-options.hip | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/test/Driver/hip-gz-options.hip b/clang/test/Driver/hip-gz-options.hip index b2544a42ebed..705c1be7b94e 100644 --- a/clang/test/Driver/hip-gz-options.hip +++ b/clang/test/Driver/hip-gz-options.hip @@ -9,6 +9,6 @@ // RUN: -ggdb -gz=zlib 2>&1 | FileCheck %s // CHECK-DAG: {{".*clang.*" .* "--compress-debug-sections=zlib"}} -// CHECK-DAG: {{".*lld.*" .* "--compress-debug-sections=zlib"}} +// CHECK-DAG: {{".*lld" .* "--compress-debug-sections=zlib"}} // CHECK-DAG: {{".*clang.*" .* "--compress-debug-sections=zlib"}} // CHECK: "--compress-debug-sections=zlib"