[lld] dfeaa19 - [lld][test] Remove /usr/local/lib test requirement
Keith Smiley via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 7 15:18:41 PDT 2021
Author: Keith Smiley
Date: 2021-10-07T15:17:52-07:00
New Revision: dfeaa1941bd0fa6f65ac34f26868f2f04efd9d1d
URL: https://github.com/llvm/llvm-project/commit/dfeaa1941bd0fa6f65ac34f26868f2f04efd9d1d
DIFF: https://github.com/llvm/llvm-project/commit/dfeaa1941bd0fa6f65ac34f26868f2f04efd9d1d.diff
LOG: [lld][test] Remove /usr/local/lib test requirement
This field only exists if the directory exists on the machine running
the test. It likely exists for most Intel macOS users because of
homebrew, but doesn't exist on some of the CI machines. This
unfortunately makes this test a bit less strict.
Differential Revision: https://reviews.llvm.org/D111361
Added:
Modified:
lld/test/MachO/search-paths-darwin.test
Removed:
################################################################################
diff --git a/lld/test/MachO/search-paths-darwin.test b/lld/test/MachO/search-paths-darwin.test
index a21156c6ed69b..eb2a27d1dcf62 100644
--- a/lld/test/MachO/search-paths-darwin.test
+++ b/lld/test/MachO/search-paths-darwin.test
@@ -7,8 +7,7 @@ RUN: not ld64.lld -arch x86_64 -v -L%t1 -F%t2 2>&1 | FileCheck -DLDIR=%t1 -DFDIR
CHECK: Library search paths:
CHECK-NEXT: [[LDIR]]
CHECK-NEXT: /usr/lib
-CHECK-NEXT: /usr/local/lib
-CHECK-NEXT: Framework search paths:
+CHECK: Framework search paths:
CHECK-NEXT: [[FDIR]]
CHECK-NEXT: /Library/Frameworks
CHECK-NEXT: /System/Library/Frameworks
More information about the llvm-commits
mailing list