View Issue Details

IDProjectCategoryView StatusLast Update
0023955Open CASCADEOCCT:Codingpublic2013-12-19 13:56
ReporterabvAssigned Toibs 
PrioritynormalSeverityminor 
Status closedResolutionfixed 
PlatformWindowsOSVC++ 2008 
Product Version6.6.0 
Target Version6.7.0Fixed in Version6.7.0 
Summary0023955: Improve CMake build scripts to make tests operable after install
DescriptionIt is necessary to improve CMake build scripts for OCCT to allow running tests on the built version without manual customization.

At least two problems should be addressed:

- env.bat generated by install does not define CASROOT, which is assumed to be defined (e.g. in XML tests)
- Test scripts and data files are not installed

The simplest way to solve both issues is to define CASROOT in env.bat pointing to directory containing OCCT sources. Further, an option can be provided to install tests along with binaries, in this case test scripts will be copied to install dir and CASROOT can be set there; note however that it will work only if folder 'res' is renamed to 'src'.

The layout of install folders should likely be revised; check Linux standards http://www.debian.org/doc/packaging-manuals/fhs/fhs-2.3.html and OCE practice.

TagsNo tags attached.
Test case number

Activities

bugmaster

2013-06-27 11:35

administrator   ~0024897

Fix has been integrated into master of occt-wok repository

Issue History

Date Modified Username Field Change
2013-05-11 18:42 abv New Issue
2013-05-11 18:42 abv Assigned To => bugmaster
2013-06-26 15:28 ibs Assigned To bugmaster => ibs
2013-06-26 15:28 ibs Status new => assigned
2013-06-26 16:29 ibs Status assigned => resolved
2013-06-26 16:30 ibs Assigned To ibs => bugmaster
2013-06-26 16:30 ibs Status resolved => reviewed
2013-06-27 10:12 ibs Assigned To bugmaster => ibs
2013-06-27 10:12 ibs Status reviewed => assigned
2013-06-27 11:35 bugmaster Status assigned => resolved
2013-06-27 11:35 bugmaster Status resolved => reviewed
2013-06-27 11:35 bugmaster Note Added: 0024897
2013-06-27 11:35 bugmaster Status reviewed => verified
2013-06-27 11:35 bugmaster Resolution open => fixed
2013-12-19 13:53 bugmaster Status verified => closed
2013-12-19 13:56 bugmaster Fixed in Version => 6.7.0
2014-01-11 11:58 abv Category OCCT Release:BUILD => OCCT:Coding