diff options
| author | Aiden Grossman <aidengrossman@google.com> | 2025-11-17 18:54:14 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-17 18:54:14 -0800 |
| commit | d464c99f595b69d3a34b361b6a935e803c60d308 (patch) | |
| tree | 1b3b1bef743a1e8ee52b365366ada9b454c24e65 /compiler-rt | |
| parent | 4b0d42275382e4cff2c30070efd5625dae27e330 (diff) | |
[ORC] Make tests work with Internal Shell (#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.
Diffstat (limited to 'compiler-rt')
| -rw-r--r-- | compiler-rt/test/orc/TestCases/Darwin/arm64/objc-imageinfo.S | 4 |
1 files changed, 3 insertions, 1 deletions
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 78454e33f735..d5524020f263 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. |
