Skip to content

Commit 73ce0ac

Browse files
authored
[Test] Adjust quoting in archive-thin.test for spaces in paths (#151707)
As suggested in review (see: #149425), I believed that using single quotes was a nicer quoting scheme that correctly handled paths with spaces. Alas, build bot failures have demonstrated that this is not the case. Revert to the original quoting scheme (see: #146749).
1 parent 5f2a8cd commit 73ce0ac

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lld/test/ELF/dtlto/archive-thin.test

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ RUN: mkdir %t/out && cd %t/out
2929
## received JSON, pretty-prints the JSON and the supplied arguments, and then
3030
## exits with an error. This allows FileCheck directives to verify the
3131
## distributor inputs.
32-
RUN: echo '%t/t1.a %t/lib/t2.a ../t3.a \
33-
RUN: --thinlto-distributor="%python" \
34-
RUN: --thinlto-distributor-arg="%llvm_src_root/utils/dtlto/validate.py"' > rsp
32+
RUN: echo "%t/t1.a %t/lib/t2.a ../t3.a \
33+
RUN: --thinlto-distributor=\"%python\" \
34+
RUN: --thinlto-distributor-arg=\"%llvm_src_root/utils/dtlto/validate.py\"" > rsp
3535

3636
## Link thin archives using -u/--undefined.
3737
RUN: not ld.lld @rsp -u t1 -u t2 -u t3 2>&1 | FileCheck %s

0 commit comments

Comments
 (0)