Skip to content

Commit d464c99

Browse files
[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.
1 parent 4b0d422 commit d464c99

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

compiler-rt/test/orc/TestCases/Darwin/arm64/objc-imageinfo.S

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55

66
// RUN: rm -rf %t
77
// RUN: split-file %s %t
8-
// RUN: (cd %t; %clang -c *.S)
8+
// RUN: pushd %t
9+
// RUN: %clang -c *.S
10+
// RUN: popd
911

1012
// Check individual versions are loadable.
1113

0 commit comments

Comments
 (0)