MantisBT - Open CASCADE
View Issue Details
0029077Open CASCADE[OCCT] OCCT:Testspublic2017-09-04 13:342018-06-29 21:19
abv 
bugmaster 
normalminor 
closedfixed 
 
[OCCT] 7.3.0[OCCT] 7.3.0 
demo testsystem testfile
0029077: Tests - improve command testfile
Command testfile need to be improved to be more usable by developers for checking data files used by the new test cases before their integration to the test data base:

1. When checking new files, the command should not report problems found in the repo -- this should be separate check

2. It should be possible to check a file located in a directory listed in CSF_TestDataPath as new one (without it being considered as already in the data base)

3. For new BREP files, report warning if the file contains triangulation, suggesting that it can be removed to minimize the size

4. Be able to identify the same (by content) file for the new files in DOS encoding

5. Be able to identify duplicates among the input files

6. Make output more clear
test demo testsystem testfile
No tags attached.
Issue History
2017-09-04 13:34abvNew Issue
2017-09-04 13:34abvAssigned To => apn
2017-09-04 14:25gitNote Added: 0070162
2017-09-05 11:37gitNote Added: 0070231
2017-09-06 11:04gitNote Added: 0070261
2017-09-07 09:09abvNote Added: 0070297
2017-09-07 09:09abvStatusnew => resolved
2017-09-07 09:09abvSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=17461#r17461
2017-09-07 13:30apnTest case number => Reviewed, please integrate.
2017-09-07 13:30apnAssigned Toapn => bugmaster
2017-09-07 13:30apnStatusresolved => reviewed
2017-09-07 13:30gitNote Added: 0070315
2017-09-07 13:30apnTest case numberReviewed, please integrate. => demo testsystem testfile
2017-09-07 13:30apnNote Added: 0070316
2017-09-07 13:32gitNote Added: 0070317
2017-09-07 14:10bugmasterStatusreviewed => tested
2017-09-07 14:12apnNote Edited: 0070316bug_revision_view_page.php?bugnote_id=70316#r17472
2017-09-08 14:55bugmasterChangeset attached => occt master 8ee9c2f4
2017-09-08 14:55bugmasterStatustested => verified
2017-09-08 14:55bugmasterResolutionopen => fixed
2017-09-08 15:09gitNote Added: 0070349
2017-09-08 15:09gitNote Added: 0070350
2017-09-29 13:26bugmasterChangeset attached => occt master 4eb6e8f4
2018-02-20 12:59aivTarget Version7.4.0* => 7.3.0
2018-06-29 21:15aivFixed in Version => 7.3.0
2018-06-29 21:19aivStatusverified => closed

Notes
(0070162)
git   
2017-09-04 14:25   
Branch CR29077 has been created by abv.

SHA-1: 551721f30f40802570d016bfcec73ce430fc9a34


Detailed log of new commits:

Author: abv
Date: Mon Sep 4 13:40:25 2017 +0300

    0029077: Tests - improve command testfile
    
    Command testfile is improved to be more usable by developers for checking data files used by the new test cases before their integration to the test data base:
    
    1. Do not check and do not report problems found in the repo when checking new files -- this check is done only when argument is "-check"
    
    2. Can check a file located in a directory listed in CSF_TestDataPath as new one without it being considered as already in the data base
    
    3. For new BREP files, reports warning if the file contains triangulation, suggesting that it can be removed to minimize the size
    
    4. Can identify the same (by content) file in the data base for the new files in DOS encoding (less than 1 MB)
    
    5. Can detect duplicates among the input files
    
    6. Outputs result in more clear form
    
    7. When loading STL files, uses option "triangulation" to be efficient
    
    Automated Testing System guide is updated to describe command testfile.
(0070231)
git   
2017-09-05 11:37   
Branch CR29077 has been updated by abv.

SHA-1: 4123854133c80ffeb02f539479474b7673ea8e6b


Detailed log of new commits:

Author: abv
Date: Tue Sep 5 11:37:02 2017 +0300

    Added test demo testsystem testfile

(0070261)
git   
2017-09-06 11:04   
Branch CR29077 has been updated forcibly by abv.

SHA-1: 9de1d83dd1c6a26cdbec8043601f2f554f48cf70
(0070297)
abv   
2017-09-07 09:09   
Fix pushed to branch CR29077, please review
(0070315)
git   
2017-09-07 13:30   
Branch CR29077_1 has been created by abv.

SHA-1: 95245dfedcc5fc47337e0770c3cb3345bc72c8a0


Detailed log of new commits:

Author: abv
Date: Mon Sep 4 13:40:25 2017 +0300

    0029077: Tests - improve command testfile
    
    Command testfile is improved to be more usable by developers for checking data files used by the new test cases before their integration to the test data base:
    
    1. Do not check and do not report problems found in the repo when checking new files -- this check is done only when argument is "-check"
    
    2. Can check a file located in a directory listed in CSF_TestDataPath as new one without it being considered as already in the data base
    
    3. For new BREP files, reports warning if the file contains triangulation, suggesting that it can be removed to minimize the size
    
    4. Can identify the same (by content) file in the data base for the new files in DOS encoding (less than 1 MB)
    
    5. Can detect duplicates among the input files
    
    6. Outputs result in more clear form
    
    7. When loading STL files, uses option "triangulation" to be efficient
    
    Automated Testing System guide is updated to describe command testfile.
    
    Added test demo testsystem testfile
(0070316)
apn   
2017-09-07 13:30   
(edited on: 2017-09-07 14:12)
Reviewed, please integrate.

Testing case:
demo testsystem testfile - OK
http://occt-tests/testfile_test/demo/testsystem/testfile.html [^]

(0070317)
git   
2017-09-07 13:32   
Branch CR29077_1 has been updated forcibly by abv.

SHA-1: a42d1c353529f9bdc8a1ff129f93734161304dcb
(0070349)
git   
2017-09-08 15:09   
Branch CR29077 has been deleted by kgv.

SHA-1: 9de1d83dd1c6a26cdbec8043601f2f554f48cf70
(0070350)
git   
2017-09-08 15:09   
Branch CR29077_1 has been deleted by kgv.

SHA-1: a42d1c353529f9bdc8a1ff129f93734161304dcb