[lld] bf7f846 - Fix test so it doesn't try to write to the test directory, only to %t

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 2 15:00:18 PDT 2021


Author: David Blaikie
Date: 2021-07-02T14:59:50-07:00
New Revision: bf7f846b683077a8adcb229624082e525870229b

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

LOG: Fix test so it doesn't try to write to the test directory, only to %t

Added: 
    

Modified: 
    lld/test/MachO/bug_50812.s

Removed: 
    


################################################################################
diff  --git a/lld/test/MachO/bug_50812.s b/lld/test/MachO/bug_50812.s
index 676e0e003c52..134a748a7ec2 100644
--- a/lld/test/MachO/bug_50812.s
+++ b/lld/test/MachO/bug_50812.s
@@ -3,7 +3,7 @@
 ##        Replace this with "normal" .s test format once lld supports `-r`
 
 # RUN: yaml2obj %s -o %t.o
-# RUN: %lld -lSystem -platform_version macos 11.3 11.0 -arch x86_64 %t.o
+# RUN: %lld -lSystem -platform_version macos 11.3 11.0 -arch x86_64 %t.o -o %t
 --- !mach-o
 FileHeader:
   magic:           0xFEEDFACF


        


More information about the llvm-commits mailing list