[clang] cb2f23a - [LinkerWrapper] Adjust test after a previous change in temp file names
Joseph Huber via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 12 18:36:39 PST 2023
Author: Joseph Huber
Date: 2023-01-12T20:36:27-06:00
New Revision: cb2f23a9b0de9c6747afb1efdc6e05b4691e0c50
URL: https://github.com/llvm/llvm-project/commit/cb2f23a9b0de9c6747afb1efdc6e05b4691e0c50
DIFF: https://github.com/llvm/llvm-project/commit/cb2f23a9b0de9c6747afb1efdc6e05b4691e0c50.diff
LOG: [LinkerWrapper] Adjust test after a previous change in temp file names
Summary:
This patch adjusts the test to correctly search for the temp files
created after a previous patch changed the name. This wasn't caught
because it still technically worked.
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 1d984e49b7ff..b052c077b92c 100644
--- a/clang/test/Driver/linker-wrapper.c
+++ b/clang/test/Driver/linker-wrapper.c
@@ -185,4 +185,4 @@
// 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: --linker-path=/usr/bin/ld -- %t.a %t-obj.o -o a.out
-// RUN: not ls "*-device-*"
+// RUN: not ls "*nvptx64*"
More information about the cfe-commits
mailing list