View Issue Details

IDProjectCategoryView StatusLast Update
0023550Open CASCADEOCCT:Testspublic2013-04-29 15:21
ReporterabvAssigned Toabv 
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version6.5.4 
Target Version6.6.0Fixed in Version6.6.0 
Summary0023550: Variable imagedir is not defined in interactive run of tests
DescriptionTcl 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.
TagsNo tags attached.
Test case number

Activities

abv

2012-11-13 18:59

manager   ~0022231

Fix pushed to branch CR23550, please review

bugmaster

2012-11-29 13:17

administrator   ~0022442

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

abv

2012-12-03 09:39

manager   ~0022505

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

bugmaster

2012-12-06 13:16

administrator   ~0022589

branch CR23550 has been reviewed.
Test case bugs xde bug23384 has been update with imagedir

Related Changesets

occt: master 60874ff8

2012-12-07 09:44:58

abv


Committer: abv Details Diff
0023550: Variable imagedir is not defined in interactive run of tests

When test is run interactively, imagedir is set to temporary directory (search order: environment variables TempDir, Temp, Tmp, upper and lower case, in this order, then $HOME/tmp)
Update testing case with imagedir variable
Affected Issues
0023550
mod - src/DrawResources/TestCommands.tcl Diff File
mod - tests/bugs/xde/bug23193 Diff File
mod - tests/bugs/xde/bug23384 Diff File

Issue History

Date Modified Username Field Change
2012-11-13 17:03 abv New Issue
2012-11-13 17:03 abv Assigned To => abv
2012-11-13 17:03 abv Status new => assigned
2012-11-13 18:59 abv Note Added: 0022231
2012-11-13 18:59 abv Assigned To abv => bugmaster
2012-11-13 18:59 abv Status assigned => resolved
2012-11-29 13:17 bugmaster Note Added: 0022442
2012-11-29 13:17 bugmaster Status resolved => reviewed
2012-11-29 13:41 bugmaster Assigned To bugmaster => abv
2012-11-29 13:41 bugmaster Status reviewed => assigned
2012-12-03 09:39 abv Note Added: 0022505
2012-12-03 09:39 abv Assigned To abv => bugmaster
2012-12-03 09:39 abv Status assigned => resolved
2012-12-06 13:16 bugmaster Note Added: 0022589
2012-12-06 13:16 bugmaster Status resolved => reviewed
2012-12-06 13:17 bugmaster Status reviewed => tested
2012-12-10 17:16 abv Changeset attached => occt master 60874ff8
2012-12-10 17:16 abv Assigned To bugmaster => abv
2012-12-10 17:16 abv Status tested => verified
2012-12-10 17:16 abv Resolution open => fixed
2013-04-23 13:37 aiv Status verified => closed
2013-04-29 15:21 aiv Fixed in Version => 6.6.0