https://github.com/llvmbot created 
https://github.com/llvm/llvm-project/pull/152120

Backport 73ce0aca72348a80dc2c2175516a0993ab8d6be3

Requested by: @bd1976bris

>From 400d8b067591d7052f04c6486d5ec533871ef29c Mon Sep 17 00:00:00 2001
From: bd1976bris <ben.dunbob...@sony.com>
Date: Fri, 1 Aug 2025 16:09:01 +0100
Subject: [PATCH] [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).

(cherry picked from commit 73ce0aca72348a80dc2c2175516a0993ab8d6be3)
---
 lld/test/ELF/dtlto/archive-thin.test | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lld/test/ELF/dtlto/archive-thin.test 
b/lld/test/ELF/dtlto/archive-thin.test
index bcd5f138459b0..df3c2aadb06eb 100644
--- a/lld/test/ELF/dtlto/archive-thin.test
+++ b/lld/test/ELF/dtlto/archive-thin.test
@@ -29,9 +29,9 @@ RUN: mkdir %t/out && cd %t/out
 ## received JSON, pretty-prints the JSON and the supplied arguments, and then
 ## exits with an error. This allows FileCheck directives to verify the
 ## distributor inputs.
-RUN: echo '%t/t1.a %t/lib/t2.a ../t3.a \
-RUN:   --thinlto-distributor="%python" \
-RUN:   --thinlto-distributor-arg="%llvm_src_root/utils/dtlto/validate.py"' > 
rsp
+RUN: echo "%t/t1.a %t/lib/t2.a ../t3.a \
+RUN:   --thinlto-distributor=\"%python\" \
+RUN:   --thinlto-distributor-arg=\"%llvm_src_root/utils/dtlto/validate.py\"" > 
rsp
 
 ## Link thin archives using -u/--undefined.
 RUN: not ld.lld @rsp -u t1 -u t2 -u t3 2>&1 | FileCheck %s

_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to