[llvm] c51857b - [dsymutil] Don't redundantly copy input file again in test

Sam McCall via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 28 06:27:21 PDT 2023


Author: Sam McCall
Date: 2023-09-28T15:27:13+02:00
New Revision: c51857b4e53031753d6b998ce0ef5f59c073aeb3

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

LOG: [dsymutil] Don't redundantly copy input file again in test

(This fails if the input is not writable)

Added: 
    

Modified: 
    llvm/test/tools/dsymutil/X86/basic-linking-x86.test

Removed: 
    


################################################################################
diff  --git a/llvm/test/tools/dsymutil/X86/basic-linking-x86.test b/llvm/test/tools/dsymutil/X86/basic-linking-x86.test
index 5b80567ead139c7..ba8d227c578ebaf 100644
--- a/llvm/test/tools/dsymutil/X86/basic-linking-x86.test
+++ b/llvm/test/tools/dsymutil/X86/basic-linking-x86.test
@@ -22,7 +22,6 @@ RUN:   --check-prefixes=CHECK,ARCHIVE,PUB
 ### ---------------------------------------
 ### Repeat the same steps for --linker llvm
 
-RUN: cp %p/../Inputs/basic.macho.x86_64 %t1
 RUN: dsymutil --linker llvm -accelerator=Pub -f -oso-prepend-path=%p/.. %t1
 RUN: llvm-dwarfdump -a %t1.dwarf | FileCheck %s
 RUN: dsymutil --linker llvm  -accelerator=Pub -f -o %t2 -oso-prepend-path=%p/.. \


        


More information about the llvm-commits mailing list