[lld] 74e1460 - Fix test to write to %T instead of the current working directory (which may not be writeable)
David Blaikie via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 24 15:01:24 PDT 2024
Author: David Blaikie
Date: 2024-07-24T22:00:59Z
New Revision: 74e14605d73e6286651d4b47ba5e04858cec7ebd
URL: https://github.com/llvm/llvm-project/commit/74e14605d73e6286651d4b47ba5e04858cec7ebd
DIFF: https://github.com/llvm/llvm-project/commit/74e14605d73e6286651d4b47ba5e04858cec7ebd.diff
LOG: Fix test to write to %T instead of the current working directory (which may not be writeable)
Added:
Modified:
lld/test/MachO/objc-category-merging-erase-objc-name-test.s
Removed:
################################################################################
diff --git a/lld/test/MachO/objc-category-merging-erase-objc-name-test.s b/lld/test/MachO/objc-category-merging-erase-objc-name-test.s
index 01c5c4fd9e0c3..aeb2395b3a858 100644
--- a/lld/test/MachO/objc-category-merging-erase-objc-name-test.s
+++ b/lld/test/MachO/objc-category-merging-erase-objc-name-test.s
@@ -4,9 +4,9 @@
; then when merging the category into the base class (and deleting the category), we don't
; delete the 'MyTestProtocol' name
-; RUN: llvm-mc -filetype=obj -triple=arm64-apple-macos -o erase-objc-name.o %s
-; RUN: %lld -arch arm64 -dylib -o erase-objc-name.dylib erase-objc-name.o -objc_category_merging
-; RUN: llvm-objdump --objc-meta-data --macho erase-objc-name.dylib | FileCheck %s --check-prefixes=MERGE_CATS
+; RUN: llvm-mc -filetype=obj -triple=arm64-apple-macos -o %T/erase-objc-name.o %s
+; RUN: %lld -arch arm64 -dylib -o %T/erase-objc-name.dylib %T/erase-objc-name.o -objc_category_merging
+; RUN: llvm-objdump --objc-meta-data --macho %T/erase-objc-name.dylib | FileCheck %s --check-prefixes=MERGE_CATS
; === Check merge categories enabled ===
; Check that the original categories are not there
More information about the llvm-commits
mailing list