View Issue Details

IDProjectCategoryView StatusLast Update
0023953Open CASCADEOCCT:Testspublic2013-12-19 13:55
ReporterabvAssigned Toabv 
PrioritynormalSeverityintegration request 
Status closedResolutionfixed 
PlatformWindowsOSVC++ 2008 
Target Version6.7.0Fixed in Version6.7.0 
Summary0023953: Avoid unjustified use of $CASROOT and exporting to GIF in tests
DescriptionIn tests 3rdparty fonts, path to data files is encoded using CASROOT variable.
This is not correct as it does not allow redirecting this path, and does not produce correct SKIPPED status if data file is not available (e.g. in environment produced after CMake install). Function locate_data_file (which searches by paths indiceted by CSF_TestDataPath) should be used instead.

DE tests produce images in GIF format; PNG should be used instead as it is faster and more robust
TagsNo tags attached.
Test case numbertests/3rdparty/fonts/A3,A4; tests/de/end

Activities

abv

2013-05-11 11:05

manager   ~0024361

Correction pushed to CR23953, please review

apn

2013-05-13 10:10

administrator   ~0024367

CR23953 was reviewed, no remarks.

mkv

2013-05-14 16:56

tester   ~0024380

Dear BugMaster,

Test cases

tests/3rdparty/fonts/A3,A4
tests/de/end

from branch CR23953 SHA-1: 1028eb7a18e1dba3bc1242ee659e82afbefdd66b
was tested. Its are OK.

Related Changesets

occt: master ac29d56a

2013-05-11 07:04:14

abv


Committer: abv Details Diff
0023953: Avoid unjustified use of $CASROOT and exporting to GIF in tests

Function locate_data_file is used instead of direct path in 3rdparty fonts tests
DE tests changed to produce PNG images
Affected Issues
0023953
mod - tests/3rdparty/fonts/A3 Diff File
mod - tests/3rdparty/fonts/A4 Diff File
mod - tests/de/end Diff File

Issue History

Date Modified Username Field Change
2013-05-11 11:02 abv New Issue
2013-05-11 11:02 abv Assigned To => mkv
2013-05-11 11:05 abv Note Added: 0024361
2013-05-11 11:05 abv Assigned To mkv => apn
2013-05-11 11:05 abv Status new => resolved
2013-05-13 10:10 apn Note Added: 0024367
2013-05-13 10:10 apn Assigned To apn => mkv
2013-05-13 10:10 apn Status resolved => reviewed
2013-05-14 16:56 mkv Note Added: 0024380
2013-05-14 16:56 mkv Test case number => tests/3rdparty/fonts/A3,A4; tests/de/end
2013-05-14 16:56 mkv Assigned To mkv => bugmaster
2013-05-14 16:56 mkv Status reviewed => tested
2013-05-20 10:56 abv Changeset attached => occt master ac29d56a
2013-05-20 10:56 abv Assigned To bugmaster => abv
2013-05-20 10:56 abv Status tested => verified
2013-05-20 10:56 abv Resolution open => fixed
2013-05-20 16:54 bugmaster Target Version => 6.7.0
2013-12-19 13:53 bugmaster Status verified => closed
2013-12-19 13:55 bugmaster Fixed in Version => 6.7.0