diff mbox series

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

Message ID 20240312153306.1871599-1-Harish.Sadineni@windriver.com
State Accepted, archived
Commit e59421468d96282057f5176438a76a325b987e47
Headers show
Series gcc: Oe-selftest failure analysis - fix for tcl errors | expand

Commit Message

Sadineni, Harish March 12, 2024, 3:33 p.m. UTC
From: Harish Sadineni <Harish.Sadineni@windriver.com>

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 the variable changed as ${do-what-limit}

Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
---
 .../gcc/gcc/0025-gcc-testsuite-tweaks-for-mips-OE.patch       | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/meta/recipes-devtools/gcc/gcc/0025-gcc-testsuite-tweaks-for-mips-OE.patch b/meta/recipes-devtools/gcc/gcc/0025-gcc-testsuite-tweaks-for-mips-OE.patch
index c405d8d484..e4d57c27ef 100644
--- a/meta/recipes-devtools/gcc/gcc/0025-gcc-testsuite-tweaks-for-mips-OE.patch
+++ b/meta/recipes-devtools/gcc/gcc/0025-gcc-testsuite-tweaks-for-mips-OE.patch
@@ -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}
 +	    }
 +        }
 +    }