[compiler-rt] [ORC] Make tests work with Internal Shell (PR #168471)
Aiden Grossman via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 17 17:59:28 PST 2025
https://github.com/boomanaiden154 created https://github.com/llvm/llvm-project/pull/168471
This patch makes objc-imageinfo.S work with the internal shell. The test uses a subshell to temporarily change the directory. The internal shell does not support subshells, so this construct was replaced with a pushd/popd sequence.
>From 8b4d015fe6c1a05adf12dbf7c7459fa26e1b8e9a Mon Sep 17 00:00:00 2001
From: Aiden Grossman <aidengrossman at google.com>
Date: Mon, 17 Nov 2025 17:57:34 -0800
Subject: [PATCH] [ORC] Make tests work with Internal Shell
This patch makes objc-imageinfo.S work with the internal shell. The test
uses a subshell to temporarily change the directory. The internal shell
does not support subshells, so this construct was replaced with a pushd/popd
sequence.
---
compiler-rt/test/orc/TestCases/Darwin/arm64/objc-imageinfo.S | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/compiler-rt/test/orc/TestCases/Darwin/arm64/objc-imageinfo.S b/compiler-rt/test/orc/TestCases/Darwin/arm64/objc-imageinfo.S
index 78454e33f7356..d5524020f2636 100644
--- a/compiler-rt/test/orc/TestCases/Darwin/arm64/objc-imageinfo.S
+++ b/compiler-rt/test/orc/TestCases/Darwin/arm64/objc-imageinfo.S
@@ -5,7 +5,9 @@
// RUN: rm -rf %t
// RUN: split-file %s %t
-// RUN: (cd %t; %clang -c *.S)
+// RUN: pushd %t
+// RUN: %clang -c *.S
+// RUN: popd
// Check individual versions are loadable.
More information about the llvm-commits
mailing list