]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
gcc: Oe-selftest failure analysis - fix for tcl errors
authorHarish Sadineni <Harish.Sadineni@windriver.com>
Tue, 12 Mar 2024 16:33:25 +0000 (09:33 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 18 Mar 2024 12:20:59 +0000 (12:20 +0000)
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}.

Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/gcc/gcc/0025-gcc-testsuite-tweaks-for-mips-OE.patch

index c405d8d484e5d9e85ea02298f5918823dcba4791..e4d57c27ef10bf6ff3ba17554fb4da46fdaea4fe 100644 (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}
 +          }
 +        }
 +    }