From 34035b1044c10c9b1350f25cf280f1d0f58910f9 Mon Sep 17 00:00:00 2001 From: Paul Robinson Date: Fri, 6 Aug 2021 10:49:22 -0700 Subject: [PATCH] 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. --- lld/test/MachO/search-paths-darwin.test | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lld/test/MachO/search-paths-darwin.test b/lld/test/MachO/search-paths-darwin.test index 8385d5b..2a37f9c 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: -- 2.7.4