Archived issue #0024690
Cannot set "imagedir" variable in test procedure
Description
Procedure _run_test from src/DrawResources/TestCommands.tcl fails on WindowsXP trying to set global variable imagedir on the following line:
uplevel set imagedir $imagedir
The reason is that previous code creates temporary directory which contains spaces in absolute path on WindowsXP (C:/Documents and Settings/%username%/Local Settings/Temp/) and stores its path into local variable imagedir. So TCL interprets mentioned problematic code line as an attempt to assign multiple values to global variable imagedir.
uplevel set imagedir $imagedir
The reason is that previous code creates temporary directory which contains spaces in absolute path on WindowsXP (C:/Documents and Settings/%username%/Local Settings/Temp/) and stores its path into local variable imagedir. So TCL interprets mentioned problematic code line as an attempt to assign multiple values to global variable imagedir.
Public activity
2 archived notes
Participants are labeled by their role within this record.
This should be fixed by #0024679, please have a look at corresponding branch (not yet integrated)
Related records