Archived issue #0023550
Variable imagedir is not defined in interactive run of tests
Description
Tcl variable imagedir is used by tests but is not defined by command test. Hence some tests (e.g. caf bugs A3) fail with exception if launched interactively.
Public activity
4 archived notes
Participants are labeled by their role within this record.
Fix pushed to branch CR23550, please review
Fix works for interactive start of test including caf bugs A3.
But what about problem of absence of temp folder defined in imagedir variable.
Typical sample bugs xde subgroup.
writestl a_1 C:/temp/bug23193_sample.stl 0
An exception was caught 71ABFD64 : Standard_ProgramError: OSD_File :: Write (): wrong access
But what about problem of absence of temp folder defined in imagedir variable.
Typical sample bugs xde subgroup.
writestl a_1 C:/temp/bug23193_sample.stl 0
An exception was caught 71ABFD64 : Standard_ProgramError: OSD_File :: Write (): wrong access
The implementation is revised to use temporary directory specified by environment variable (trying TempDir, Temp, Tmp, in this order, in both upper and lower case) or $HOME/tmp or ./tmp as a fallback case. Pushed to branch CR23550 (rebased on IR-2012-11-30 without last commit); please review
Branch [archived branch] has been reviewed.
Test case bugs xde bug23384 has been update with imagedir
Test case bugs xde bug23384 has been update with imagedir