Skip to content

Commit 74e1460

Browse files
committed
Fix test to write to %T instead of the current working directory (which may not be writeable)
1 parent 70c6e79 commit 74e1460

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lld/test/MachO/objc-category-merging-erase-objc-name-test.s

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
; then when merging the category into the base class (and deleting the category), we don't
55
; delete the 'MyTestProtocol' name
66

7-
; RUN: llvm-mc -filetype=obj -triple=arm64-apple-macos -o erase-objc-name.o %s
8-
; RUN: %lld -arch arm64 -dylib -o erase-objc-name.dylib erase-objc-name.o -objc_category_merging
9-
; RUN: llvm-objdump --objc-meta-data --macho erase-objc-name.dylib | FileCheck %s --check-prefixes=MERGE_CATS
7+
; RUN: llvm-mc -filetype=obj -triple=arm64-apple-macos -o %T/erase-objc-name.o %s
8+
; RUN: %lld -arch arm64 -dylib -o %T/erase-objc-name.dylib %T/erase-objc-name.o -objc_category_merging
9+
; RUN: llvm-objdump --objc-meta-data --macho %T/erase-objc-name.dylib | FileCheck %s --check-prefixes=MERGE_CATS
1010

1111
; === Check merge categories enabled ===
1212
; Check that the original categories are not there

0 commit comments

Comments
 (0)