[Clang] Remove flaky test line from linker wrapper test
authorJoseph Huber <jhuber6@vols.utk.edu>
Mon, 23 Jan 2023 13:06:53 +0000 (07:06 -0600)
committerJoseph Huber <jhuber6@vols.utk.edu>
Mon, 23 Jan 2023 13:15:53 +0000 (07:15 -0600)
Summary:
This test is a little flaky and isn't as necessary anymore now that we
only generate one temporary file.

clang/test/Driver/linker-wrapper.c

index d515e31..2bd3f60 100644 (file)
 // 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*"