Archived issue #0024690

Cannot set "imagedir" variable in test procedure

Open CASCADEOCCT:Testsclosed2 public notes

Search issues

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.

Public activity

2 archived notes

Participants are labeled by their role within this record.

01Commenter 1
This should be fixed by #0024679, please have a look at corresponding branch (not yet integrated)
02Commenter 2
Dear Commenter 1,

please close this issue because it is a duplicate of #0024679.

Related records