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

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


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGd988ffc34fcb: [lld-macho][nfc] Fixed test so it output to %t/ rather than current directory. (authored by oontvoo).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D99271/new/

https://reviews.llvm.org/D99271

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


Index: lld/test/MachO/dependency-info.s
===================================================================
--- lld/test/MachO/dependency-info.s
+++ 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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99271.333116.patch
Type: text/x-patch
Size: 1087 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210324/b7be0c9a/attachment.bin>


More information about the llvm-commits mailing list