MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0026598Open CASCADE[OCCT] OCCT:Testspublic2015-08-25 10:502017-03-20 18:04
Reporternbv 
Assigned Toski 
PrioritynormalSeverityminor 
StatusassignedResolutionopen 
PlatformOSOS Version
Product Version 
Target Version[OCCT] 7.2.0*Fixed in Version 
Summary0026598: Some test cases fail if macros OCCT_DEBUG is enabled
DescriptionExtended debug info (which is switched on by OCCT_DEBUG macros) contains messages, considered our test system as regression.

Example of this message is "Error 2d = <some value>". Often it does not indicate that the algorithm works wrong. Simply, it is an information about precision, which is reached by algorithm. Therefore, this message must have failed to be the reason of regression.

Possible solution is these messages should be reformulated. E.g. use "Tolerance 2d" in spite of "Error 2d" etc.
Steps To Reproducetestgrid

with enabled OCCT_DEBUG option.
TagsNo tags attached.
Test case number
Attached Filestxt file icon failed test cases with OCCT_DEBUG.txt (9,674 bytes) 2015-09-24 17:29
txt file icon IR-2017-02-02_Windows-64-VC10-deb_OCCT_DEBUG_Errors.txt (25,993 bytes) 2017-02-08 12:09
txt file icon IR-2017-02-02_Windows-64-VC10-deb_OCCT_DEBUG_Errors_With_Comments.txt (22,362 bytes) 2017-02-09 16:44

- Relationships
related to 0026592closedbugmaster Macros OCCT_DEBUG is not supported while configuration 7.0.0 dev version with CMake 

-  Notes
(0045927)
abv (manager)
2015-09-19 08:58

Sergey, please investigate this issue: build with OCCT_DEBUG macro enabled (set "CSF_DEFINED=OCCT_DEBUG" in custom.bat), run tests (Release mode should be OK) and classify the debug messages that cause test failures. Then we shall discuss how to deal with each case.
(0046100)
ski (developer)
2015-09-24 17:30

Attached file contains list of test cases grouped by error output.
(0046314)
nbv (developer)
2015-09-30 11:53

DC,

Small remark about fixing.

As I said in bug description, some messages should be reformulated. However, I ask you to be careful while finding new message.

E.g. I offered use "Tolerance 2d" in spite of "Error 2d". However, these words are not synonyms because "Tolerance" is admissible error, while "Error" is real error, which we have attained (it must be less than the tolerance if algorithm had worked properly).

Synonym for "Error 2d" (in this context) can be (for example) "Delta 2d" (or something close).
(0063966)
git (administrator)
2017-02-22 14:50

Branch CR26598 has been created by ski.

SHA-1: 244f29bbaef5f89d082beb9a94a9fe578fc07a84


Detailed log of new commits:

Author: ski
Date: Wed Feb 22 14:49:52 2017 +0300

    0026598: Some test cases fail if macros OCCT_DEBUG is enabled
    
    It is possible now to use postfix "_DEBUG" in parse.rules files for detecting specific extended output in test cases for Debug configuration (when OCCT_DEBUG definition is used)
(0064064)
git (administrator)
2017-03-01 19:33

Branch CR26598 has been updated forcibly by ski.

SHA-1: 1c3351511493c505c7467f4d7ca0d58d340a0071
(0064105)
git (administrator)
2017-03-03 16:07

Branch CR26598 has been updated forcibly by ski.

SHA-1: 9bdaea439616c6f97a15eb5d057a603c5a677172
(0064149)
git (administrator)
2017-03-06 14:54

Branch CR26598 has been updated forcibly by ski.

SHA-1: d128e25ce4d9aecf72209f3c620f812ae1ce6f40
(0064279)
git (administrator)
2017-03-13 16:26

Branch CR26598 has been updated forcibly by ski.

SHA-1: 211a337ead4d2a84b76cf4227d6a0866ca274351
(0064323)
git (administrator)
2017-03-14 17:33

Branch CR26598 has been updated forcibly by ski.

SHA-1: 6974c2e6414aeb7fc80f32c1e28800c2c768c1eb
(0064543)
git (administrator)
2017-03-20 18:04

Branch CR26598 has been updated forcibly by ski.

SHA-1: 81fc70e33ba6dfdc99152029c91f9ddc3752077b

- Issue History
Date Modified Username Field Change
2015-08-25 10:50 nbv New Issue
2015-08-25 10:50 nbv Assigned To => abv
2015-08-25 12:49 nbv Relationship added related to 0026592
2015-09-19 08:58 abv Note Added: 0045927
2015-09-19 08:58 abv Assigned To abv => ski
2015-09-19 08:58 abv Status new => assigned
2015-09-24 17:29 ski File Added: failed test cases with OCCT_DEBUG.txt
2015-09-24 17:30 ski Note Added: 0046100
2015-09-30 11:53 nbv Note Added: 0046314
2015-12-18 15:17 abv Target Version 7.0.0 => 7.1.0
2016-11-03 17:13 abv Target Version 7.1.0 => 7.2.0*
2017-02-08 12:09 ski File Added: IR-2017-02-02_Windows-64-VC10-deb_OCCT_DEBUG_Errors.txt
2017-02-09 16:44 ski File Added: IR-2017-02-02_Windows-64-VC10-deb_OCCT_DEBUG_Errors_With_Comments.txt
2017-02-22 14:50 git Note Added: 0063966
2017-03-01 19:33 git Note Added: 0064064
2017-03-03 16:07 git Note Added: 0064105
2017-03-06 14:54 git Note Added: 0064149
2017-03-13 16:26 git Note Added: 0064279
2017-03-14 17:33 git Note Added: 0064323
2017-03-20 18:04 git Note Added: 0064543


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker