[lld] 34035b1 - 2nd Speculative fix for MachO lld test after "Have REQUIRES support the target triple"
Paul Robinson via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 6 10:49:43 PDT 2021
Author: Paul Robinson
Date: 2021-08-06T10:49:36-07:00
New Revision: 34035b1044c10c9b1350f25cf280f1d0f58910f9
URL: https://github.com/llvm/llvm-project/commit/34035b1044c10c9b1350f25cf280f1d0f58910f9
DIFF: https://github.com/llvm/llvm-project/commit/34035b1044c10c9b1350f25cf280f1d0f58910f9.diff
LOG: 2nd Speculative fix for MachO lld test after "Have REQUIRES support the target triple"
See: http://45.33.8.238/macm1/15677/step_10.txt
Follow-up to f88ad8d as it appears the lld invocations both emit an
error message; so, try adding 'not' to the RUN lines.
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 8385d5b348a0..2a37f9c01569 100644
--- a/lld/test/MachO/search-paths-darwin.test
+++ b/lld/test/MachO/search-paths-darwin.test
@@ -3,7 +3,7 @@ REQUIRES: darwin
RUN: mkdir -p %t1 %t2
-RUN: ld64.lld -arch x86_64 -v -L%t1 -F%t2 2>&1 | FileCheck -DLDIR=%t1 -DFDIR=%t2 %s
+RUN: not ld64.lld -arch x86_64 -v -L%t1 -F%t2 2>&1 | FileCheck -DLDIR=%t1 -DFDIR=%t2 %s
CHECK: Library search paths:
CHECK-NEXT: [[LDIR]]
CHECK-NEXT: /usr/lib
@@ -12,7 +12,7 @@ CHECK-NEXT: [[FDIR]]
CHECK-NEXT: /Library/Frameworks
CHECK-NEXT: /System/Library/Frameworks
-RUN: ld64.lld -arch x86_64 -v -L%t1 -F%t2 -Z 2>&1 | FileCheck -DLDIR=%t1 -DFDIR=%t2 --check-prefix=CHECK_Z %s
+RUN: not ld64.lld -arch x86_64 -v -L%t1 -F%t2 -Z 2>&1 | FileCheck -DLDIR=%t1 -DFDIR=%t2 --check-prefix=CHECK_Z %s
CHECK_Z: Library search paths:
CHECK_Z-NEXT: [[LDIR]]
CHECK_Z-NEXT: Framework search paths:
More information about the llvm-commits
mailing list