[lld] d988ffc - [lld-macho][nfc] Fixed test so it output to %t/ rather than current directory.

Vy Nguyen via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 24 13:56:28 PDT 2021


Author: Vy Nguyen
Date: 2021-03-24T16:55:37-04:00
New Revision: d988ffc34fcbb1b3416efde8b1792828971497c7

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

LOG: [lld-macho][nfc] Fixed test so it output to %t/ rather than current directory.

The a.out broke our build.

Differential Revision: https://reviews.llvm.org/D99271

Added: 
    

Modified: 
    lld/test/MachO/dependency-info.s

Removed: 
    


################################################################################
diff  --git a/lld/test/MachO/dependency-info.s b/lld/test/MachO/dependency-info.s
index 93c58443fbc3..a05445bcd652 100644
--- a/lld/test/MachO/dependency-info.s
+++ b/lld/test/MachO/dependency-info.s
@@ -12,7 +12,7 @@
 # RUN: llvm-ar csr  %t/bar.a %t/bar.o
 # RUN: llvm-mc -filetype=obj -triple=x86_64-apple-macos -o %t/main.o %t/main.s
 
-# RUN: %lld %t/main.o %t/bar.a %t/libfoo.dylib -lSystem -dependency_info %t/deps_info.out
+# RUN: %lld %t/main.o %t/bar.a %t/libfoo.dylib -lSystem -o %t/test.out -dependency_info %t/deps_info.out
 # RUN: %python %S/Inputs/DependencyDump.py %t/deps_info.out | FileCheck %s
 
 # CHECK: lld-version: {{.*}}LLD {{.*}}
@@ -20,12 +20,12 @@
 # CHECK-DAG: input-file: {{.*}}/libfoo.dylib
 # CHECK-DAG: input-file: {{.*}}/libSystem.tbd
 # CHECK-DAG: input-file: {{.*}}/main.o
-# CHECK-DAG: bar.o
+# CHECK-DAG: input-file: {{.*}}bar.o
 
 # CHECK-NEXT: not-found: {{.*}}/libdyld.dylib
 ## There could be more not-found here but we are not checking those because it's brittle.
 
-# CHECK: output-file: a.out
+# CHECK: output-file: {{.*}}/test.out
 
 #--- foo.s
 .globl __Z3foo


        


More information about the llvm-commits mailing list