[lld] [lld-macho][test] Require "shell" feature for usage of `ln -s` (PR #99355)

Daniel Bertalan via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 17 09:50:37 PDT 2024


https://github.com/BertalanD created https://github.com/llvm/llvm-project/pull/99355

The use of `ln -s` is not guaranteed to be supported on Windows.

>From 994552fed7d8f3848fddb5da44fe232427ccdfad Mon Sep 17 00:00:00 2001
From: Daniel Bertalan <dani at danielbertalan.dev>
Date: Wed, 17 Jul 2024 18:44:02 +0200
Subject: [PATCH] [lld-macho][test] Require "shell" feature for usage of `ln
 -s`

The use of `ln -s` is not guaranteed to be supported on Windows.
---
 lld/test/MachO/implicit-and-allowable-clients.test | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lld/test/MachO/implicit-and-allowable-clients.test b/lld/test/MachO/implicit-and-allowable-clients.test
index 576db33af2ea0..f627d242a0075 100644
--- a/lld/test/MachO/implicit-and-allowable-clients.test
+++ b/lld/test/MachO/implicit-and-allowable-clients.test
@@ -1,4 +1,4 @@
-# REQUIRES: aarch64
+# REQUIRES: aarch64, shell
 # RUN: rm -rf %t; split-file %s %t
 # RUN: ln -s Versions/A/FrameworkPublic.tbd %t/System/Library/Frameworks/FrameworkPublic.framework/
 # RUN: ln -s Versions/A/FrameworkPrivate.tbd %t/System/Library/Frameworks/FrameworkPrivate.framework/



More information about the llvm-commits mailing list