[clang] bcc05cb - [Clang] Remove flaky test line from linker wrapper test

Joseph Huber via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 23 05:16:01 PST 2023


Author: Joseph Huber
Date: 2023-01-23T07:15:53-06:00
New Revision: bcc05cbfa8088db8ddb4beeea066147c2dc334ba

URL: https://github.com/llvm/llvm-project/commit/bcc05cbfa8088db8ddb4beeea066147c2dc334ba
DIFF: https://github.com/llvm/llvm-project/commit/bcc05cbfa8088db8ddb4beeea066147c2dc334ba.diff

LOG: [Clang] Remove flaky test line from linker wrapper test

Summary:
This test is a little flaky and isn't as necessary anymore now that we
only generate one temporary file.

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 d515e316da0f4..2bd3f60541e4c 100644
--- a/clang/test/Driver/linker-wrapper.c
+++ b/clang/test/Driver/linker-wrapper.c
@@ -130,15 +130,3 @@
 // RUN:   -o a.out 2>&1 | FileCheck %s --check-prefix=MISSING-LIBRARY
 
 // MISSING-LIBRARY: error: unable to find library -ldummy
-
-/// Ensure that temp files aren't leftoever from static libraries.
-// RUN: clang-offload-packager -o %t-lib.out \
-// RUN:   --image=file=%t.elf.o,kind=openmp,triple=nvptx64-nvidia-cuda,arch=sm_70 \
-// RUN:   --image=file=%t.elf.o,kind=cuda,triple=nvptx64-nvidia-cuda,arch=sm_52
-// RUN: %clang -cc1 %s -triple x86_64-unknown-linux-gnu -emit-obj -o %t.o -fembed-offload-object=%t-lib.out
-// 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:   --linker-path=/usr/bin/ld -- %t.a %t-obj.o -o a.out
-// RUN: not ls "*nvptx64*"


        


More information about the cfe-commits mailing list