[clang] 52b8f3a - [LinkerWrapper] Fix failing linker wrapper save temps test
Joseph Huber via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 10 13:57:08 PDT 2022
Author: Joseph Huber
Date: 2022-10-10T15:56:46-05:00
New Revision: 52b8f3a80c6b2b1efcd91e2278bd9d63a0b1567b
URL: https://github.com/llvm/llvm-project/commit/52b8f3a80c6b2b1efcd91e2278bd9d63a0b1567b
DIFF: https://github.com/llvm/llvm-project/commit/52b8f3a80c6b2b1efcd91e2278bd9d63a0b1567b.diff
LOG: [LinkerWrapper] Fix failing linker wrapper save temps test
Summary:
This test started failing locally due to a misspelling of `-save-temps`
for the linker wrapper and the `ls` command not having the glob
arguments put in a string. This patch should fix it.
Added:
Modified:
clang/test/Driver/linker-wrapper.c
Removed:
################################################################################
diff --git a/clang/test/Driver/linker-wrapper.c b/clang/test/Driver/linker-wrapper.c
index e8c127501e26..51f3ea3bc545 100644
--- a/clang/test/Driver/linker-wrapper.c
+++ b/clang/test/Driver/linker-wrapper.c
@@ -142,6 +142,6 @@
// RUN: llvm-ar rcs %t.a %t.o
// RUN: rm -f %t.o
// RUN: %clang -cc1 %s -triple x86_64-unknown-linux-gnu -emit-obj -o %t-obj.o
-// RUN: clang-linker-wrapper --host-triple=x86_64-unknown-linux-gnu --dry-run -save-temps \
+// RUN: clang-linker-wrapper --host-triple=x86_64-unknown-linux-gnu --dry-run --save-temps \
// RUN: --linker-path=/usr/bin/ld -- %t.a %t-obj.o -o a.out
-// RUN: not ls *-device-*
+// RUN: not ls "*-device-*"
More information about the cfe-commits
mailing list