gcc: Oe-selftest failure analysis - fix for tcl errors

gcc testsuite unable to read the value of variable $do-what-limit and causing below tcl errors.
ERROR: can't read "do": no such variable
    while executing
"set do_what $do-what-limit"

To fix this, quote the variable using braces, as in ${do-what-limit}.

(From OE-Core rev: e59421468d96282057f5176438a76a325b987e47)

Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Harish Sadineni
2024-03-12 09:33:25 -07:00
committed by Richard Purdie
parent 893a8bacc5
commit 2003557314

View File

@@ -80,8 +80,8 @@ index 9d79b9402e9..e0e5cbb1af8 100644
+ # Demote run tests to $do-what-limit if set
+ switch $do_what {
+ run {
+ set do_what $do-what-limit
+ set dg-do-what $do-what-limit
+ set do_what ${do-what-limit}
+ set dg-do-what ${do-what-limit}
+ }
+ }
+ }