[lld] 4313c56 - [lld-macho] Enable search-paths tests on macOS
Keith Smiley via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 3 12:01:58 PDT 2021
Author: Keith Smiley
Date: 2021-11-03T12:01:36-07:00
New Revision: 4313c56aa3e6fee26463a271c475259f18b1014e
URL: https://github.com/llvm/llvm-project/commit/4313c56aa3e6fee26463a271c475259f18b1014e
DIFF: https://github.com/llvm/llvm-project/commit/4313c56aa3e6fee26463a271c475259f18b1014e.diff
LOG: [lld-macho] Enable search-paths tests on macOS
I'm not sure what the history is here but this test passes on macOS
today. It seems like we should unify these tests if they need to run
cross platform.
Reviewed By: #lld-macho, int3
Differential Revision: https://reviews.llvm.org/D113085
Added:
Modified:
lld/test/MachO/search-paths.test
Removed:
################################################################################
diff --git a/lld/test/MachO/search-paths.test b/lld/test/MachO/search-paths.test
index 15d1b564cf929..88f4fabc37b48 100644
--- a/lld/test/MachO/search-paths.test
+++ b/lld/test/MachO/search-paths.test
@@ -1,6 +1,4 @@
-UNSUPPORTED: darwin
-
-RUN: mkdir -p %t1 %t2
+RUN: rm -rf %t1 %t2; mkdir -p %t1 %t2
RUN: %lld -v -dylib -o /dev/null -L%t1 -F%t2 2>&1 \
RUN: | FileCheck -DLDIR=%t1 -DFDIR=%t2 %s
More information about the llvm-commits
mailing list