[lld] 0d71f2e - [lld][ELF] Cleanup %t directory in tests, NFC

Alexander Shaposhnikov via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 28 00:42:37 PST 2022


Author: Alexander Shaposhnikov
Date: 2022-01-28T08:41:52Z
New Revision: 0d71f2e097b94bd785bcadfe38cb0875f7756d78

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

LOG: [lld][ELF] Cleanup %t directory in tests, NFC

Added: 
    

Modified: 
    lld/test/ELF/aarch64-adrp-ldr-got-symbols.s
    lld/test/ELF/aarch64-adrp-ldr-got.s

Removed: 
    


################################################################################
diff  --git a/lld/test/ELF/aarch64-adrp-ldr-got-symbols.s b/lld/test/ELF/aarch64-adrp-ldr-got-symbols.s
index bff7c2fcbb71a..145cf1c2cebb2 100644
--- a/lld/test/ELF/aarch64-adrp-ldr-got-symbols.s
+++ b/lld/test/ELF/aarch64-adrp-ldr-got-symbols.s
@@ -2,7 +2,7 @@
 ## depending on the target symbol properties.
 
 # REQUIRES: aarch64
-# RUN: split-file %s %t
+# RUN: rm -rf %t && split-file %s %t
 
 # RUN: llvm-mc -filetype=obj -triple=aarch64 %t/symbols.s -o %t/symbols.o
 

diff  --git a/lld/test/ELF/aarch64-adrp-ldr-got.s b/lld/test/ELF/aarch64-adrp-ldr-got.s
index c789e720e02e7..e3c4fe8cae39d 100644
--- a/lld/test/ELF/aarch64-adrp-ldr-got.s
+++ b/lld/test/ELF/aarch64-adrp-ldr-got.s
@@ -1,5 +1,5 @@
 # REQUIRES: aarch64
-# RUN: split-file %s %t
+# RUN: rm -rf %t && split-file %s %t
 
 # RUN: llvm-mc -filetype=obj -triple=aarch64 %t/a.s -o %t/a.o
 # RUN: llvm-mc -filetype=obj -triple=aarch64 %t/unpaired.s -o %t/unpaired.o


        


More information about the llvm-commits mailing list