Fix bot failure after ccb4124a4172
authorNemanja Ivanovic <nemanja.i.ibm@gmail.com>
Tue, 15 Sep 2020 17:33:31 +0000 (12:33 -0500)
committerNemanja Ivanovic <nemanja.i.ibm@gmail.com>
Tue, 15 Sep 2020 17:36:47 +0000 (12:36 -0500)
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

index b2544a4..705c1be 100644 (file)
@@ -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"