View Issue Details

IDProjectCategoryView StatusLast Update
0023372Open CASCADEOCCT:Testspublic2012-11-16 13:18
ReportermivAssigned Toabv 
PrioritynormalSeverityminor 
Status closedResolutionfixed 
PlatformAOSL 
Target Version6.5.4Fixed in Version6.5.4 
Summary0023372: "diffimage" using in tests commands
DescriptionNew tests procedure should tests resulted images automatically.
Opencascade contains "diffimage" procedure for comparing two images and marks differents.
This procedure should be included in "new" tests script.
TagsNo tags attached.
Test case number

Relationships

parent of 0023272 closedkgv Image comparison algorithm 

Activities

abv

2012-11-07 17:55

manager   ~0022139

Last edited: 2012-11-07 17:55

Comparison of images is implemented in testdiff command (along with comparison of CPU and memory usage). The report is generated allowing to view all the differences in compact form. Note that currently comparison is made with 0 tolerance, i.e. even one-pixel differences are reported; this means that only the results produced on the same workstation should be compared.

Note that some test cases exhibit instability in their results, including images. These test cases should be somehow listed to not be misinterpreted as regressions.

Please review branch CR23372_1

abv

2012-11-08 17:04

manager   ~0022154

Added command testsummarize, intended to regenerate summary log from individual logs of test cases

Related Changesets

occt: master 22db40eb

2012-11-09 12:41:36

abv


Committer: abv Details Diff
0023372: "diffimage" using in tests commands

Comparison of images is implemented in testdiff command; output in HTML form generated
Add measurement of memory (working set) delta in test case execution
Add memory statistics to output of testdiff command
Treatment of parameter -outdir of command testgrid corrected.
Function locate_data_file and code to run tests in parallel revised to be usable with Tcl 8.4.
Added function testsummarize: regenerate summary log of tests from test case logs
Command testdiff is protected against exception raised by diffimage if images have different formats
Affected Issues
0023372
mod - src/DrawResources/TestCommands.tcl Diff File

Issue History

Date Modified Username Field Change
2012-08-07 18:15 miv New Issue
2012-08-07 18:15 miv Assigned To => miv
2012-08-07 18:35 miv Relationship added parent of 0023272
2012-10-02 14:56 bugmaster Project Internal => Open CASCADE
2012-10-24 17:20 abv Product Version Unscheduled =>
2012-10-24 17:20 abv Target Version => 6.6.0
2012-11-07 17:55 abv Note Added: 0022139
2012-11-07 17:55 abv Assigned To miv => bugmaster
2012-11-07 17:55 abv Status new => resolved
2012-11-07 17:55 abv Note Edited: 0022139
2012-11-08 17:04 abv Note Added: 0022154
2012-11-09 15:47 apn Status resolved => reviewed
2012-11-09 15:47 apn Status reviewed => tested
2012-11-09 16:16 apn Target Version 6.6.0 => 6.5.4
2012-11-12 11:33 abv Changeset attached => occt master 22db40eb
2012-11-12 11:33 abv Assigned To bugmaster => abv
2012-11-12 11:33 abv Status tested => verified
2012-11-12 11:33 abv Resolution open => fixed
2012-11-16 13:13 bugmaster Fixed in Version => 6.5.4
2012-11-16 13:18 bugmaster Status verified => closed